From 8e1bb92b0956b0bdc1474bfdb56856e7f9f0892d Mon Sep 17 00:00:00 2001
From: Zhengyu Gu <zgu@openjdk.org>
Date: Thu, 2 May 2019 15:20:06 -0400
Subject: [PATCH] 8223258: Shenandoah: SRP::process_all_roots_slow processes
 JvmtiExport weak oops twice

Reviewed-by: rkennke
---
 src/hotspot/share/gc/shenandoah/shenandoahRootProcessor.cpp | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/hotspot/share/gc/shenandoah/shenandoahRootProcessor.cpp b/src/hotspot/share/gc/shenandoah/shenandoahRootProcessor.cpp
index 0f45064d34b..9cbe8907570 100644
--- a/src/hotspot/share/gc/shenandoah/shenandoahRootProcessor.cpp
+++ b/src/hotspot/share/gc/shenandoah/shenandoahRootProcessor.cpp
@@ -89,7 +89,6 @@ void ShenandoahRootProcessor::process_all_roots_slow(OopClosure* oops) {
 
   AlwaysTrueClosure always_true;
   WeakProcessor::weak_oops_do(&always_true, oops);
-  JvmtiExport::weak_oops_do(&always_true, oops);
 
   if (ShenandoahStringDedup::is_enabled()) {
     ShenandoahStringDedup::oops_do_slow(oops);