src/hotspot/share/runtime/threadHeapSampler.hpp
changeset 50882 80abf702eed8
parent 50579 1596f418ffe4
child 51138 914f305ba6fa
--- a/src/hotspot/share/runtime/threadHeapSampler.hpp	Thu Jun 28 15:17:44 2018 +0200
+++ b/src/hotspot/share/runtime/threadHeapSampler.hpp	Thu Jun 28 14:22:28 2018 +0200
@@ -57,7 +57,7 @@
   size_t bytes_until_sample()                    { return _bytes_until_sample;   }
   void set_bytes_until_sample(size_t bytes)      { _bytes_until_sample = bytes;  }
 
-  void check_for_sampling(HeapWord* obj, size_t size_in_bytes, size_t bytes_allocated_before = 0);
+  void check_for_sampling(oop obj, size_t size_in_bytes, size_t bytes_allocated_before);
 
   static int enabled();
   static void enable();