[9] RFR (S): 8060147: SIGSEGV in Metadata::mark_on_stack() while marking metadata in ciEnv

Roland Westrelin roland.westrelin at oracle.com
Wed Oct 29 15:12:07 UTC 2014


Hi Vladimir,

> http://cr.openjdk.java.net/~vlivanov/8060147/webrev.00
> https://bugs.openjdk.java.net/browse/JDK-8060147
> 
> ciObjectFactory doesn't keep cached Metadata* alive. ciMetadata is different from ciObject - it doesn't store JNI handle, but a raw Metadata* pointer.

What kind of ciMetadata do you observe being unloaded?

For instance, if I remember correctly ciInstanceKlass is kept alive by storing a handle to the loader object of the instance klass.

Roland.




More information about the hotspot-runtime-dev mailing list