[9] RFR(S): 8040085: dtrace/jsdt tests crash on solaris. found an unadvertised bad scavengable oop in the code cache

Roland Westrelin roland.westrelin at oracle.com
Wed Apr 23 16:51:04 UTC 2014


Hi Albert,

> Problem: JDK-7017732 added 'CodeCache::add_scavenge_root_nmethod(this)' to the constructors of nmethod,
> except for the dtrace-constructor version.
> 
> Solution: Add CodeCache::add_scavenge_root_nmethod(this) to the dtrace-constructor of nmethod.

7017732 was pushed 3 years ago. What does this show up now? Also, CodeCache::add_scavenge_root_nmethod() is required if the nmethod embeds oops but I don’t see where in SharedRuntime::generate_dtrace_nmethod() we have constant oops.

Roland.


More information about the hotspot-compiler-dev mailing list