RFR(xs): 8149405: OOM Error running java/lang/invoke/MethodHandlesTest.java on windows-x86

Derek White derek.white at oracle.com
Wed Mar 23 15:02:46 UTC 2016

This is a very small fix that adds ResourceMarks to 
MethodData::clean_method_data() (and two similar functions nearby).

Basically an iteration over all classes in all methods in all classes 
was occurring in one ResourceMark during a full gc, so we occasionally 
ran out of malloc space.

Once again, x86 builds running on Win64 are the "canary in the coal 
mine" for these kinds of temp. memory leaks, so it's a great test case 
even if not a very realistic one!

BUG: https://bugs.openjdk.java.net/browse/JDK-8149405
WEBREV: http://cr.openjdk.java.net/~drwhite/8149405/webrev.01/
TESTS: jprt

Thanks for looking,

  - Derek

More information about the hotspot-gc-dev mailing list