Get nashron work in opnjdk8

Harsha Kumara harsz89 at gmail.com
Fri Feb 8 05:29:49 PST 2013


Yeah the problem is i'm not quite sure whether I have configure the nashorn
correctly.I had run crypto test in v8 bench mark test suit in jjs console
it gives around 110ms to run the encryption operation where rhino just take
around 31ms.My concern is how can I know whether I have correctly configure
nashorn in my machine.
Thanks!

On Fri, Feb 8, 2013 at 6:52 PM, A. Sundararajan <
sundararajan.athijegannathan at oracle.com> wrote:

> [Please reply to list as it will be record for similar queries from others
> as well]
>
> You said it is not as fast as rhino on your test. Is it possible to share
> your test or reduced version of it demonstrating performance issue?
>
> thanks
> -Sundar
>
>
> On Friday 08 February 2013 06:15 PM, Harsha Kumara wrote:
>
>> Hi!
>>
>> I have pull jdk8 and build it.Then I build nashron after setting java
>> home poiting to the jdk8.But ant build return with a javadoc error.I have
>> the nashron jar which is build during the ant build.And I ran jjs
>> executable with a some test it's not fast as rhino.I wonder whether I need
>> to other configuration to get nashron into play?
>> Thanks!
>>
>> On Fri, Feb 8, 2013 at 5:59 PM, A. Sundararajan <
>> sundararajan.athijegannathan@**oracle.com<sundararajan.athijegannathan at oracle.com><mailto:
>> sundararajan.**athijegannathan at oracle.com<sundararajan.athijegannathan at oracle.com>>>
>> wrote:
>>
>>     Hi,
>>
>>     Nashorn has not yet hit the openjdk8 main repo. You need to pull
>>     nashorn forest for now:
>>
>>     http://hg.openjdk.java.net/**nashorn/jdk8<http://hg.openjdk.java.net/nashorn/jdk8>
>>
>>     It'll be some time before nashorn hits main jdk8 repo. But, you
>>     can pull the above forest in the interim and build it.
>>
>>     -Sundar
>>
>>
>>     On Friday 08 February 2013 02:07 PM, Harsha Kumara wrote:
>>
>>         Hi!
>>         I had tried to run some performance tests.But results are not
>>         impressive
>>         than I thought.I have build openjdk8 and set JAVA_HOME to
>>         it.Then I have
>>         build nashron.But when I run the jrunscript -q it still show
>>         the rhino as
>>         underline javascript engine.Then how can I configure it to use
>>         nashron?
>>         Thanks!
>>
>>
>>
>>
>>
>> --
>> /Harsha Kumara/
>> /Undergraduate/
>> /Department of Computer Science and Engineering/
>> /University of Moratuwa/
>> /Sri Lanka./
>>
>
>


-- 
*Harsha Kumara*
*Undergraduate*
*Department of Computer Science and Engineering*
*University of Moratuwa*
*Sri Lanka.*


More information about the nashorn-dev mailing list