RFR: JDK-8078904 : CMS: Assert failed: Ctl pt invariant

Kim Barrett kim.barrett at oracle.com
Thu Aug 6 15:49:02 UTC 2015

On Aug 6, 2015, at 9:28 AM, Eric Caspole <eric.caspole at oracle.com> wrote:
> Thomas and I had a IM about this the other day and in the end decided to allow the main rescan chunk array to grow if the user explicitly sets a very small MinTLABSize on the command line. There doesn't seem to be any good reason to set a very small MinTLABSize except maybe stress testing, and so it is simpler to grow this structure for that unusual case rather than use the stride I had in v03.
> The new one is here:
> http://cr.openjdk.java.net/~ecaspole/JDK-8078904/04/webrev/
> Bug:
> https://bugs.openjdk.java.net/browse/JDK-8078904

Looks good.

One pre-existing issue. I don't need a new webrev if you fix this.

 623       ((DefNewGeneration*)_young_gen)->max_survivor_size() / (ThreadLocalAllocBuffer::min_size() * HeapWordSize);

Unnecessary explicit up-cast of _young_gen to DefNewGeneration*.


More information about the hotspot-gc-dev mailing list