-
Bug
-
Resolution: Fixed
-
P4
-
8-shenandoah, 11-shenandoah, 13
-
b22
This can be triggered with --disable-precompiled-headers and --with-jvm-features=-jfr:
...
/home/aoqi/jdk/src/hotspot/share/gc/shenandoah/shenandoahRootProcessor.inline.hpp: In member function 'void ShenandoahRootScanner<ITR>::roots_do(uint, OopClosure*, CLDClosure*, CodeBlobClosure*, ThreadClosure*)':
/home/aoqi/jdk/src/hotspot/share/gc/shenandoah/shenandoahRootProcessor.inline.hpp:96:3: error: 'ResourceMark' was not declared in this scope
ResourceMark rm;
^
/home/aoqi/jdk/src/hotspot/share/gc/shenandoah/shenandoahRootProcessor.inline.hpp:96:16: error: expected ';' before 'rm'
ResourceMark rm;
^
/home/aoqi/jdk/src/hotspot/share/gc/shenandoah/shenandoahRootProcessor.inline.hpp: In member function 'void ShenandoahRootScanner<ITR>::strong_roots_do(uint, OopClosure*, CLDClosure*, CodeBlobClosure*, ThreadClosure*)':
/home/aoqi/jdk/src/hotspot/share/gc/shenandoah/shenandoahRootProcessor.inline.hpp:114:3: error: 'ResourceMark' was not declared in this scope
ResourceMark rm;
...
...
/home/aoqi/jdk/src/hotspot/share/gc/shenandoah/shenandoahRootProcessor.inline.hpp: In member function 'void ShenandoahRootScanner<ITR>::roots_do(uint, OopClosure*, CLDClosure*, CodeBlobClosure*, ThreadClosure*)':
/home/aoqi/jdk/src/hotspot/share/gc/shenandoah/shenandoahRootProcessor.inline.hpp:96:3: error: 'ResourceMark' was not declared in this scope
ResourceMark rm;
^
/home/aoqi/jdk/src/hotspot/share/gc/shenandoah/shenandoahRootProcessor.inline.hpp:96:16: error: expected ';' before 'rm'
ResourceMark rm;
^
/home/aoqi/jdk/src/hotspot/share/gc/shenandoah/shenandoahRootProcessor.inline.hpp: In member function 'void ShenandoahRootScanner<ITR>::strong_roots_do(uint, OopClosure*, CLDClosure*, CodeBlobClosure*, ThreadClosure*)':
/home/aoqi/jdk/src/hotspot/share/gc/shenandoah/shenandoahRootProcessor.inline.hpp:114:3: error: 'ResourceMark' was not declared in this scope
ResourceMark rm;
...
- relates to
-
JDK-8224210 Shenandoah: Refactor ShenandoahRootScanner to support scanning CSet codecache roots
- Resolved