RFR(XS): 8024008: Nashorn V8 (Crypto) benchmark crashes with small CodeCache size
Albert Noll
albert.noll at oracle.com
Mon Sep 9 06:59:47 PDT 2013
Hi,
thanks for reviewing this patch.
https://bugs.openjdk.java.net/browse/JDK-8024008
http://cr.openjdk.java.net/~anoll/8024008/webrev.00/
<http://cr.openjdk.java.net/%7Eanoll/8024008/webrev.00/>
Many thanks in advance,
Albert
Problem:
The state of nmethods that are currently locked by the VM must not change.
Some operations such as setting ICs (e.g.,
SharedRuntime::resolve_sub_helper())
rely on this fact. 'nmethod::make_not_entrant_or_zombie does not make this
check.
Solution:
Do method state unchanged of nmethod is locked by the VM.
Testing: Run Octane benchmarks on top of Nashorn with small code cache
size (16m).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20130909/921fe364/attachment.html
More information about the hotspot-compiler-dev
mailing list