RFR 8029178: Parallel class loading test anonymous-simple gets SIGSEGV in Metaspace:,:contains (original) (raw)

serguei.spitsyn at oracle.com serguei.spitsyn at oracle.com
Thu Jan 2 17:30:23 PST 2014


Hi Coleen,

The fix looks Ok to me.

Thanks, Serguei

On 1/2/14 9:25 AM, Coleen Phillmore wrote:

Summary: Metaspace::contains cannot look at purged metaspaces while CMS concurrently deallocates them.

Removed 2 calls to ismetaspaceobject where the object may be in a deallocated metaspace. Removed walking virtual space lists for determining contains because the virtual space list can change concurrently with the walk. CLDG::contains is slower but no slowdowns with testing were observed. Tested by SQE testbase tests, jtreg tests. Functional testing by parallel class loading tests and nsk/coverage/arguments/arguments008 (ie. calls Method::isvalidmethod) open webrev at http://cr.openjdk.java.net/~coleenp/8029178/ bug link https://bugs.openjdk.java.net/browse/JDK-8029178 Thanks, Coleen



More information about the hotspot-dev mailing list