diff --git a/src/hotspot/share/opto/c2_CodeStubs.hpp b/src/hotspot/share/opto/c2_CodeStubs.hpp index a1658c73405..7598fed52eb 100644 --- a/src/hotspot/share/opto/c2_CodeStubs.hpp +++ b/src/hotspot/share/opto/c2_CodeStubs.hpp @@ -50,7 +50,7 @@ class C2CodeStub : public ResourceObj { virtual int max_size() const = 0; }; -class C2CodeStubList { +class C2CodeStubList : public ResourceObj { private: GrowableArray* _stubs;