[sh/11] 8239926: Shenandoah: Shenandoah needs to mark nmethod's metadata

Zhengyu Gu zgu at redhat.com
Wed Mar 25 20:41:03 UTC 2020



On 3/25/20 2:20 PM, Aleksey Shipilev wrote:
> On 3/25/20 1:17 PM, Zhengyu Gu wrote:
>> What our next release is based on?
> 
> April: 11.0.7
> July: 11.0.8
> 
> We are currently in deep stabilizing for April release.
> 
>> If 11.0.7, we should consider backport both.
> 
> Yes. But I think for 11.0.8.
> 
> 8237396 can be picked up to sh/jdk11, but we would need to protect it with UseShenandoahGC and
> maintain the upstream behavior without Shenandoah. It is too risky at this point otherwise.
> 

How about:

http://cr.openjdk.java.net/~zgu/shenandoah/sh11u-jvmti/webrev.00/


  100   inline oop object_raw() {
  101     if (UseShenandoahGC) {
  102       return RawAccess<>::oop_load(object_addr());
  103     } else {
  104       return object_peek();
  105     }
  106   }

-Zhengyu




More information about the shenandoah-dev mailing list