8253763: ParallelObjectIterator should have virtual destructor
Reviewed-by: shade, stefank
This commit is contained in:
parent
55c90a171f
commit
6d19fe65d1
@ -90,6 +90,7 @@ class GCHeapLog : public EventLogBase<GCMessage> {
|
|||||||
class ParallelObjectIterator : public CHeapObj<mtGC> {
|
class ParallelObjectIterator : public CHeapObj<mtGC> {
|
||||||
public:
|
public:
|
||||||
virtual void object_iterate(ObjectClosure* cl, uint worker_id) = 0;
|
virtual void object_iterate(ObjectClosure* cl, uint worker_id) = 0;
|
||||||
|
virtual ~ParallelObjectIterator() {}
|
||||||
};
|
};
|
||||||
|
|
||||||
//
|
//
|
||||||
|
Loading…
Reference in New Issue
Block a user