RFR (XS) 8217471: [TESTBUG] gc/epsilon/TestClasses.java fails on some platforms - OOME Metaspace

Thomas Schatzl thomas.schatzl at oracle.com
Thu Jan 24 15:45:06 UTC 2019


On Thu, 2019-01-24 at 12:44 +0100, Aleksey Shipilev wrote:
> Bug:
>   https://bugs.openjdk.java.net/browse/JDK-8217471
> Newly added test limits max metaspace size to 32M and then allocates
> lots of classes. Turns out, some machines just barely do not fit that
> limit. Many thanks to David Holmes for testing the change on the
> offending Solaris box. I also used the more aggressive options
> on x86_64 (e.g. -Xcomp lines provided by Mikael) to reproduce and
> test it locally. It seems the next step, 64M fits broken
> configurations well.
> Fix:

  change looks good.


More information about the hotspot-gc-dev mailing list