RFR (S): 8141421: Various test fail with OOME on win x86

Derek White derek.white at oracle.com
Wed Jan 20 16:34:34 UTC 2016


On 1/20/16 5:54 AM, Thomas Schatzl wrote:
> Hi Derek,
>
> On Tue, 2016-01-19 at 12:38 -0500, Derek White wrote:
>> This is a small fix for a (malloc) memory leak that is causing a
>> variety of crashes.
>>
>> This also improves memory tracking slightly, and adds asserts that
>> clarify the expected locking usage of g1CodeCacheRemSet.
>>
>> BUG: JDK-8141421 Various test fail with OOME on win x86
>> Webrev: http://cr.openjdk.java.net/~drwhite/8141421/webrev.00/
>> Testing jprt, aurora.
>    nice catch :)

I stared at that code for a long time without seeing a problem! Only 
when I threw in a bunch of statistics did it become clear :-)
>
> Could you improve the failing asserts to contain the compared values?
> That would make eventual debugging easier.

OK, I'll get a new rev out soon...

  - Derek



More information about the hotspot-gc-dev mailing list