8387391: hotspot_gc_shenandoah should include gtests

Reviewed-by: xpeng, kdnilsen, wkemper
This commit is contained in:
Aleksey Shipilev 2026-06-30 09:01:13 +00:00
parent c0df91c40a
commit e5c0e0f4db
2 changed files with 33 additions and 1 deletions

View File

@ -314,7 +314,8 @@ tier1_gc_shenandoah = \
gc/shenandoah/compiler/ \
gc/shenandoah/mxbeans/ \
gc/shenandoah/TestSmallHeap.java \
gc/shenandoah/oom/
gc/shenandoah/oom/ \
gtest/ShenandoahGtests.java
tier2_gc_shenandoah = \
runtime/MemberName/MemberNameLeak.java \

View File

@ -0,0 +1,31 @@
/*
* Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
/* @test
* @summary Run Shenandoah gtests
* @library /test/lib
* @requires vm.gc.Shenandoah
* @requires vm.debug
* @run main/native GTestWrapper --gtest_filter=Shenandoah*
*/