RFR: 8232602: ZGC: Make ZGranuleMap ZAddress agnostic
Stefan Karlsson
stefan.karlsson at oracle.com
Tue Oct 22 08:19:01 UTC 2019
Thanks, Per.
StefanK
On 2019-10-22 08:18, Per Liden wrote:
> Looks good.
>
> /Per
>
> On 10/21/19 3:09 PM, Stefan Karlsson wrote:
>> Hi all,
>>
>> Please review this patch to make ZGranuleMap ZAddress agnostic.
>>
>> https://cr.openjdk.java.net/~stefank/8232602/webrev.01/
>> https://bugs.openjdk.java.net/browse/JDK-8232602
>>
>> Currently, the ZGranuleMap get and put functions take an address in
>> the heap as a parameter. The address is then converted into an offset
>> (into a heap view), before being scaled to a granule.
>>
>> We want to be able to use the ZGranuleMap for physical memory offsets,
>> and not only heap addresses. Therefore, I propose that we move the
>> conversions from address to offset out from ZGranuleMap, and move it
>> to the current users of ZGranuleMap.
>>
>> This patch applies on-top of the patch for JDK-8232601.
>>
>> Thanks,
>> StefanK
>>
More information about the hotspot-gc-dev
mailing list