RFR (S): JDK-6991197 G1: specialize deal_with_reference() for narrowOop*
Stefan Karlsson
stefan.karlsson at oracle.com
Wed Jan 29 09:08:13 UTC 2014
On 2014-01-29 09:50, Thomas Schatzl wrote:
> Hi all,
>
> On Tue, 2014-01-28 at 10:29 +0100, Bengt Rutisson wrote:
>> Hi Thomas,
>>
>> The new webrev looks much better. I like that solution.
>>
>> Can we do something similar with set_partial_array_mask()? It would be
>> good if that one could not be called with a narrowOop. Maybe this works?
>>
> New webrev at
> http://cr.openjdk.java.net/~tschatzl/6991197/webrev.2/
>
> The "fix" is to simply to only implement set_partial_array_mask() for
> regular oops. The compiler will automatically complain if somebody tries
> to use it with narrowOops then.
Looks good.
StefanK
>
> Thanks a lot,
> Thomas
>
>
More information about the hotspot-gc-dev
mailing list