8223651: Build fails with --with-jvm-features=-jfr and --disable-precompiled-headers
Reviewed-by: shade
Contributed-by: Wang Haomin <wanghaomin@loongson.cn>
--- a/src/hotspot/share/gc/shenandoah/shenandoahCollectionSet.cpp Fri May 10 01:37:09 2019 +0800
+++ b/src/hotspot/share/gc/shenandoah/shenandoahCollectionSet.cpp Fri May 10 01:41:45 2019 +0800
@@ -28,6 +28,7 @@
#include "gc/shenandoah/shenandoahHeapRegionSet.hpp"
#include "gc/shenandoah/shenandoahUtils.hpp"
#include "runtime/atomic.hpp"
+#include "services/memTracker.hpp"
#include "utilities/copy.hpp"
ShenandoahCollectionSet::ShenandoahCollectionSet(ShenandoahHeap* heap, char* heap_base, size_t size) :