src/hotspot/share/gc/shared/genCollectedHeap.hpp
changeset 57903 5e2576c303a2
parent 55740 b3ff56f955c8
child 57972 374f3f9dda6f
--- a/src/hotspot/share/gc/shared/genCollectedHeap.hpp	Wed Aug 28 09:50:23 2019 +0200
+++ b/src/hotspot/share/gc/shared/genCollectedHeap.hpp	Wed Aug 28 11:19:09 2019 +0200
@@ -260,13 +260,13 @@
   // address "addr".  We say "blocks" instead of "object" since some heaps
   // may not pack objects densely; a chunk may either be an object or a
   // non-object.
-  virtual HeapWord* block_start(const void* addr) const;
+  HeapWord* block_start(const void* addr) const;
 
   // Requires "addr" to be the start of a block, and returns "TRUE" iff
   // the block is an object. Assumes (and verifies in non-product
   // builds) that addr is in the allocated part of the heap and is
   // the start of a chunk.
-  virtual bool block_is_obj(const HeapWord* addr) const;
+  bool block_is_obj(const HeapWord* addr) const;
 
   // Section on TLAB's.
   virtual bool supports_tlab_allocation() const;
@@ -332,6 +332,9 @@
   virtual void gc_threads_do(ThreadClosure* tc) const;
   virtual void print_tracing_info() const;
 
+  // Used to print information about locations in the hs_err file.
+  virtual bool print_location(outputStream* st, void* addr) const;
+
   void print_heap_change(size_t young_prev_used, size_t old_prev_used) const;
 
   // The functions below are helper functions that a subclass of