RFR(trivial): JDK-8224579: ResourceMark not declared in shenandoahRootProcessor.inline.hpp with --disable-precompiled-headers

Ao Qi aoqi at loongson.cn
Wed May 22 08:40:21 UTC 2019


Hi,

Could I please get reviews for this?

JBS:
https://bugs.openjdk.java.net/browse/JDK-8224579

Fix:
diff -r 6b976a59ee87
src/hotspot/share/gc/shenandoah/shenandoahRootProcessor.inline.hpp
--- a/src/hotspot/share/gc/shenandoah/shenandoahRootProcessor.inline.hpp
Wed May 22 08:42:00 2019 +0100
+++ b/src/hotspot/share/gc/shenandoah/shenandoahRootProcessor.inline.hpp
Wed May 22 16:37:29 2019 +0800
@@ -27,6 +27,7 @@
 #include "gc/shenandoah/shenandoahHeuristics.hpp"
 #include "gc/shenandoah/shenandoahRootProcessor.hpp"
 #include "gc/shenandoah/shenandoahTimingTracker.hpp"
+#include "memory/resourceArea.hpp"

 template <typename IsAlive, typename KeepAlive>
 void ShenandoahWeakRoots::oops_do(IsAlive* is_alive, KeepAlive*
keep_alive, uint worker_id) {

Thanks,
Ao Qi


More information about the shenandoah-dev mailing list