8212754: Build failure: undefined JvmtiSampledObjectAllocEventCollector::object_alloc_is_safe_to_sample
authorshade
Tue, 23 Oct 2018 10:55:59 +0200
changeset 52225 3c12f0c0a68c
parent 52224 4f2215a00ed1
child 52226 b4b932c6001f
8212754: Build failure: undefined JvmtiSampledObjectAllocEventCollector::object_alloc_is_safe_to_sample Reviewed-by: jcbeyler, zgu, coleenp
src/hotspot/share/prims/jvmtiExport.hpp
--- 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