From 3dc4bd858139f133f5e5b17e7bd3082dd6766d02 Mon Sep 17 00:00:00 2001 From: Denghui Dong Date: Fri, 5 Jan 2024 09:23:42 +0000 Subject: [PATCH] 8322989: New test serviceability/HeapDump/FullGCHeapDumpLimitTest.java fails Reviewed-by: stefank, dholmes --- test/hotspot/jtreg/ProblemList.txt | 2 -- .../jtreg/serviceability/HeapDump/FullGCHeapDumpLimitTest.java | 3 ++- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/test/hotspot/jtreg/ProblemList.txt b/test/hotspot/jtreg/ProblemList.txt index 484aad97b8c..754cf68ba59 100644 --- a/test/hotspot/jtreg/ProblemList.txt +++ b/test/hotspot/jtreg/ProblemList.txt @@ -141,8 +141,6 @@ serviceability/attach/ConcAttachTest.java 8290043 linux-all serviceability/jvmti/stress/StackTrace/NotSuspended/GetStackTraceNotSuspendedStressTest.java 8315980 linux-all,windows-x64 -serviceability/HeapDump/FullGCHeapDumpLimitTest.java 8322989 generic-all - ############################################################################# # :hotspot_misc diff --git a/test/hotspot/jtreg/serviceability/HeapDump/FullGCHeapDumpLimitTest.java b/test/hotspot/jtreg/serviceability/HeapDump/FullGCHeapDumpLimitTest.java index cf5481ddf2b..c44fea3e10b 100644 --- a/test/hotspot/jtreg/serviceability/HeapDump/FullGCHeapDumpLimitTest.java +++ b/test/hotspot/jtreg/serviceability/HeapDump/FullGCHeapDumpLimitTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2023, Alibaba Group Holding Limited. All Rights Reserved. + * Copyright (c) 2023, 2024 Alibaba Group Holding Limited. 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 @@ -23,6 +23,7 @@ /** * @test + * @requires vm.gc.Serial & (vm.opt.DisableExplicitGC != "true") * @summary Test of option -XX:FullGCHeapDumpLimit * @library /test/lib * @run main/othervm -XX:+UseSerialGC -XX:+HeapDumpBeforeFullGC -XX:+HeapDumpAfterFullGC -XX:HeapDumpPath=test.hprof -XX:FullGCHeapDumpLimit=1 FullGCHeapDumpLimitTest