RFR (XXS): 8031776: Remove the unnecessary enum GenRemSet::Name
Stefan Karlsson
stefan.karlsson at oracle.com
Fri Jan 17 09:48:20 UTC 2014
On 2014-01-16 17:14, Erik Helin wrote:
> Hi Thomas,
>
> thanks for the review! Please see my reply inline and new webrev at:
> http://cr.openjdk.java.net/~ehelin/8031776/webrev.01/
Looks good.
StefanK
>
> On 2014-01-15 20:48, Thomas Schatzl wrote:
>> On Wed, 2014-01-15 at 16:47 +0100, Erik Helin wrote:
>>> Hi all,
>>>
>>> this small patch removes the enum GenRemSet::Name. Since we only have
>>> one implementation of GenRemSet, CardTableRS, there is no need for an
>>> enum to distinguish between all the implementations of GenRemSet.
>>>
>>> Webrev:
>>> http://cr.openjdk.java.net/~ehelin/8031776/webrev.00/
>>>
>>> Issue:
>>> https://bugs.openjdk.java.net/browse/JDK-8031776
>>
>> Some comments:
>>
>> - the comment above the change in collectorPolicy.cpp still talks about
>> GenRemSet::CardTableRS.
>
> Yeah, I removed the comment, thanks for catching this!
>
> On 2014-01-15 20:48, Thomas Schatzl wrote:
>> - maybe complete the sentence in the comment for
>> GenRemSet::max_alignment_constraint() (because we are already touching
>> that code).
>
> Based on our discussion, I changed the comment to:
>
> // Returns any alignment constraint that the remembered set imposes
> // upon the heap.
> static uintx max_alignment_constraint();
>
> Thanks,
> Erik
>
>> Looks good otherwise.
>>
>> Thanks,
>> Thomas
>>
More information about the hotspot-gc-dev
mailing list