RFR: 8195621: JTReg failure in gc/g1/TestLargePageUseForAuxMemory.java

stewartd.qdt stewartd.qdt at qualcommdatacenter.com
Fri Jan 19 15:11:58 UTC 2018


Yes, I too wondered if the test should be changed to be a bit more discerning in how it operates. 

I agree it would be great if a member of the GC team could chime in on this issue. 

Daniel

-----Original Message-----

> This fix adds a function to WhiteBox to get the physical memory and then uses that to ensure we are not trying to allocate more than the physical amount of memory for our heap. Please let me know if this is a bad approach and I'll be happy to change as required.

This seems an improvement though I would expect the test to fail long before we get close to the amount of physical memory available. Should the test be adjusting what it does based on the page size being used, in conjunction with the amount of "physical memory"?

Hopefully one of the GC folk will chime in.

Thanks,
David

> 
> 
> Thanks,
> 
> Daniel Stewart
> 
> 
> [1] - http://cr.openjdk.java.net/~dstewart/8195621/webrev.00/
> [2] - https://bugs.openjdk.java.net/browse/JDK-8195621
> 


More information about the hotspot-dev mailing list