RFR: 8162955: Activate anonymous class loading for small sources

Hannes Wallnöfer hannes.wallnoefer at oracle.com
Thu Aug 4 11:48:16 UTC 2016


Please review 8162955: Activate anonymous class loading for small sources.

Bug: https://bugs.openjdk.java.net/browse/JDK-8162955
Webrev: http://cr.openjdk.java.net/~hannesw/8162955/webrev/

The size threshold of 512 bytes I chose is arbitrary. It seems to fit all reported cases which consist of firing lots of one-liner scripts where quick loading is more important than optimization.

Thanks,
Hannes


More information about the nashorn-dev mailing list