# HG changeset patch # User ehelin # Date 1445262456 -7200 # Node ID d5fc001452bba4eb8a4193e25e62f6b9d2c049cb # Parent 1618c0dd6712ec96bfb45308dd55cc2c2e6e362f 8139883: Add virtual destructor G1ParScanThreadState Reviewed-by: tschatzl, mgerdin, stefank diff -r 1618c0dd6712 -r d5fc001452bb hotspot/src/share/vm/gc/g1/g1ParScanThreadState.hpp --- 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); }