changeset 9419:40ac5941b5ea

8139883: Add virtual destructor G1ParScanThreadState Reviewed-by: tschatzl, mgerdin, stefank
author ehelin
date Mon, 19 Oct 2015 15:47:36 +0200
parents 03dccfa01ff4
children bb7fc011c89c
files src/share/vm/gc/g1/g1ParScanThreadState.hpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/gc/g1/g1ParScanThreadState.hpp	Thu Nov 12 09:21:16 2015 +0100
+++ b/src/share/vm/gc/g1/g1ParScanThreadState.hpp	Mon Oct 19 15:47:36 2015 +0200
@@ -84,7 +84,7 @@
 
  public:
   G1ParScanThreadState(G1CollectedHeap* g1h, uint worker_id, size_t young_cset_length);
-  ~G1ParScanThreadState();
+  virtual ~G1ParScanThreadState();
 
   void set_ref_processor(ReferenceProcessor* rp) { _scanner.set_ref_processor(rp); }