RFR: 8044818: [TESTBUG] runtime/CDSCompressedKPtrs/XShareAuto.java fails with RuntimeException 'sharing' found in stderr

David Holmes david.holmes at oracle.com
Fri Jun 20 00:23:13 UTC 2014


This was initially contributed by Pavel Chistyakov and adapted based on 
my feedback.

The bug is marked confidential due to the context in which it was 
discovered but the problem is quite simple. The test is checking for 
specific CDS related behaviour with the Server VM, but just because you 
specify "-server" it doesn't mean you will actually have a Server VM due 
to the possibility of aliasing (via jvm.cfg). So the fix is to simply 
check that we really do have a Server VM and otherwise just skip the test.

http://cr.openjdk.java.net/~dholmes/8044818/webrev/

Thanks,
David


More information about the hotspot-runtime-dev mailing list