https://hg.openjdk.org/jdk/jdk/rev/3c12f0c0a68c
8212754: Build failure: undefined JvmtiSampledObjectAllocEventCollector::object_alloc_is_safe_to_sample
Reviewed-by: jcbeyler, zgu, coleenp
line diff
--- a/src/hotspot/share/prims/jvmtiExport.hpp Wed Oct 17 10:19:13 2018 +0200
+++ b/src/hotspot/share/prims/jvmtiExport.hpp Tue Oct 23 10:55:59 2018 +0200
@@ -538,7 +538,7 @@
JvmtiSampledObjectAllocEventCollector() NOT_JVMTI_RETURN;
~JvmtiSampledObjectAllocEventCollector() NOT_JVMTI_RETURN;
bool is_sampled_object_alloc_event() { return true; }
- static bool object_alloc_is_safe_to_sample();
+ static bool object_alloc_is_safe_to_sample() NOT_JVMTI_RETURN_(false);
};
// Marker class to disable the posting of VMObjectAlloc events
bash configure --with-debug-level=slowdebug --disable-warnings-as-errors --with-native-debug-symbols=internal