RFR: JDK-8077842 - Remove the level parameter passed around in GenCollectedHeap

Jesper Wilhelmsson jesper.wilhelmsson at oracle.com
Wed May 20 17:15:19 UTC 2015


Kim Barrett skrev den 14/5/15 00:03:
> On May 12, 2015, at 3:02 PM, Jesper Wilhelmsson <jesper.wilhelmsson at oracle.com> wrote:
>>
>> Thanks Kim!
>>
>> I reverted the latest change in PointerLocation.java and CollectedHeap.java, now we're back to casts :)
>>
>> That's the only change in this webrev:
>>
>> http://cr.openjdk.java.net/~jwilhelm/8077842/webrev.02/
>
> Looks ok.
>
> I’m assuming the (Java) GenCollectedHeap.getGen() will eventually be replaced with specific young/old-gen accessors?
>

I filed JDK-8080765 to handle the cleanups in the SA.

Since the restructure of the GC files went in I had to rebase my patch. 
Mercurial handled it flawlessly and I only had to merge two files where I added 
a new include, genMarkSweep.cpp and vmGCOperations.hpp

A new webrev with the new patch is available here:

http://cr.openjdk.java.net/~jwilhelm/8077842/webrev.03

Thanks,
/Jesper


More information about the hotspot-gc-dev mailing list