changeset 52225:3c12f0c0a68c

8212754: Build failure: undefined JvmtiSampledObjectAllocEventCollector::object_alloc_is_safe_to_sample Reviewed-by: jcbeyler, zgu, coleenp
author shade
date Tue, 23 Oct 2018 10:55:59 +0200
parents 4f2215a00ed1
children b4b932c6001f
files src/hotspot/share/prims/jvmtiExport.hpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
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