RFR: 8053885: test/runtime/memory/RunUnitTestsConcurrently.java fails on solaris with largepage options

Stefan Karlsson stefan.karlsson at oracle.com
Wed Apr 13 09:21:25 UTC 2016


Hi all,

Please review this small patch to fix a unit test problem when running 
tests with -XX:LargePageSizeInBytes=<small page size>.

http://cr.openjdk.java.net/~stefank/8053885/webrev.01/

The problem was easily reproducible with the following command line on 
solaris sparc:
  java -XX:LargePageSizeInBytes=8192 -XX:+ExecuteInternalVMTests -version

# Internal Error 
(/opt/jprt/T/P1/215954.amurillo/s/hotspot/src/share/vm/memory/metaspace.cpp:1204), 
pid=5652, tid=5668
# assert(is_size_aligned(vs_byte_size, Metaspace::reserve_alignment())) 
failed: 32768 is not aligned to 2097152

Thanks,
StefanK




More information about the hotspot-gc-dev mailing list