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

Aleksey Shipilev shade at redhat.com
Mon Apr 1 09:51:03 UTC 2019


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

-- 
Thanks,
-Aleksey


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://mail.openjdk.org/pipermail/hotspot-gc-dev/attachments/20190401/83187475/signature.asc>


More information about the hotspot-gc-dev mailing list