From 7779b25be1d0ca43169bbe1af5f5c4d41c541bb1 Mon Sep 17 00:00:00 2001 From: "maoliang.ml" Date: Wed, 11 Oct 2023 14:07:35 +0800 Subject: [PATCH] [Backport] C2CodeStubList should be ResourceObj Summary: Fix jtreg nightly failure due to backport 8291555. Test Plan: CICD Reviewed-by: kuaiwei,yifeng Issue: https://github.com/dragonwell-project/dragonwell11/issues/685 --- src/hotspot/share/opto/c2_CodeStubs.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;