From 11619700ca894976d62ac2aebf1bd431ead78f48 Mon Sep 17 00:00:00 2001 From: SendaoYan Date: Thu, 21 May 2026 01:58:17 +0000 Subject: [PATCH] 8384228: Cleanup compiler/arguments/TestCompilerCounts.java Reviewed-by: shade, kvn --- .../arguments/TestCompilerCounts.java | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/test/hotspot/jtreg/compiler/arguments/TestCompilerCounts.java b/test/hotspot/jtreg/compiler/arguments/TestCompilerCounts.java index 870daa7f0a5..e3f1d59d67c 100644 --- a/test/hotspot/jtreg/compiler/arguments/TestCompilerCounts.java +++ b/test/hotspot/jtreg/compiler/arguments/TestCompilerCounts.java @@ -1,6 +1,6 @@ /* * Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. - * Copyright (c) 2025, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2025, 2026, Oracle and/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 @@ -23,8 +23,8 @@ */ /* - * @test - * @library /test/lib / + * @test id=debug + * @library /test/lib * @bug 8356000 * @requires vm.flagless * @requires vm.bits == "64" @@ -33,8 +33,8 @@ */ /* - * @test - * @library /test/lib / + * @test id=product + * @library /test/lib * @bug 8356000 * @requires vm.flagless * @requires vm.bits == "64" @@ -44,15 +44,10 @@ package compiler.arguments; -import java.io.IOException; -import java.util.List; -import java.util.Arrays; -import java.util.ArrayList; -import java.util.function.Function; import jdk.test.lib.Asserts; -import jdk.test.lib.process.ProcessTools; -import jdk.test.lib.process.OutputAnalyzer; import jdk.test.lib.cli.CommandLineOptionTest; +import jdk.test.lib.process.OutputAnalyzer; +import jdk.test.lib.process.ProcessTools; public class TestCompilerCounts {