RFR (S): JDK-6991197 G1: specialize deal_with_reference() for narrowOop* (original) (raw)

Bengt Rutisson bengt.rutisson at oracle.com
Wed Jan 29 09:17:05 UTC 2014


Hi Thomas,

On 1/29/14 9:50 AM, 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 setpartialarraymask()? 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 setpartialarraymask() for regular oops. The compiler will automatically complain if somebody tries to use it with narrowOops then.

Looks good. Thanks for fixing this.

Bengt

Thanks a lot, Thomas



More information about the hotspot-gc-dev mailing list