RFR (XS) 8221735: Shenandoah fails ctw/modules/jdk_management_agent.java with Traversal

Roman Kennke rkennke at redhat.com
Mon Apr 1 11:25:16 UTC 2019


Yes, good!

Thanks!
Roman


> Bug:
>    https://bugs.openjdk.java.net/browse/JDK-8221735
> 
> Fix:
> 
> diff -r e0603b4537c3 src/hotspot/share/gc/shenandoah/c2/shenandoahSupport.cpp
> --- a/src/hotspot/share/gc/shenandoah/c2/shenandoahSupport.cpp  Mon Apr 01 10:04:22 2019 +0200
> +++ b/src/hotspot/share/gc/shenandoah/c2/shenandoahSupport.cpp  Mon Apr 01 11:49:36 2019 +0200
> @@ -3398,10 +3398,11 @@
>   }
> 
>   int ShenandoahEnqueueBarrierNode::needed(Node* n) {
>     if (n == NULL ||
>         n->is_Allocate() ||
> +      n->Opcode() == Op_ShenandoahEnqueueBarrier ||
>         n->bottom_type() == TypePtr::NULL_PTR ||
>         (n->bottom_type()->make_oopptr() != NULL && n->bottom_type()->make_oopptr()->const_oop() !=
> NULL)) {
>       return NotNeeded;
>     }
>     if (n->is_Phi() ||
> 
> 
> Testing: hotspot_gc_shenandoah, ctw tests for both jdk/jdk and sh/jdk
> 



More information about the hotspot-gc-dev mailing list