Skip to content

Commit

Permalink
[Backport] C2CodeStubList should be ResourceObj
Browse files Browse the repository at this point in the history
Summary: Fix jtreg nightly failure due to backport 8291555.

Test Plan: CICD

Reviewed-by: kuaiwei,yifeng

Issue: #685
  • Loading branch information
mmyxym committed Oct 11, 2023
1 parent ed89ff6 commit 7779b25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hotspot/share/opto/c2_CodeStubs.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class C2CodeStub : public ResourceObj {
virtual int max_size() const = 0;
};

class C2CodeStubList {
class C2CodeStubList : public ResourceObj {
private:
GrowableArray<C2CodeStub*>* _stubs;

Expand Down

0 comments on commit 7779b25

Please sign in to comment.