8139883: Add virtual destructor G1ParScanThreadState
Reviewed-by: tschatzl, mgerdin, stefank
--- a/hotspot/src/share/vm/gc/g1/g1ParScanThreadState.hpp Thu Nov 12 09:21:16 2015 +0100
+++ b/hotspot/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); }