Skip to content

Commit

Permalink
8253763: ParallelObjectIterator should have virtual destructor
Browse files Browse the repository at this point in the history
Reviewed-by: shade, stefank
  • Loading branch information
pliden committed Sep 29, 2020
1 parent 55c90a1 commit 6d19fe6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/hotspot/share/gc/shared/collectedHeap.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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() {}
};

//
Expand Down

1 comment on commit 6d19fe6

@bridgekeeper
Copy link

@bridgekeeper bridgekeeper bot commented on 6d19fe6 Sep 29, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.