8253763: ParallelObjectIterator should have virtual destructor

Reviewed-by: shade, stefank
This commit is contained in:
Per Liden 2020-09-29 08:39:09 +00:00
parent 55c90a171f
commit 6d19fe65d1

View File

@ -90,6 +90,7 @@ class GCHeapLog : public EventLogBase<GCMessage> {
class ParallelObjectIterator : public CHeapObj<mtGC> {
public:
virtual void object_iterate(ObjectClosure* cl, uint worker_id) = 0;
virtual ~ParallelObjectIterator() {}
};
//