Skip to content

Commit de90204

Browse files
author
Ramkumar Sunderbabu
committedOct 9, 2024
8341588: Remove CollectionUsageThreshold.java from ProblemList-Xcomp for debugging
Reviewed-by: lmesnik, kevinw
1 parent f276f58 commit de90204

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed
 

‎test/jdk/ProblemList-Xcomp.txt

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright (c) 2018, 2023, Oracle and/or its affiliates. All rights reserved.
2+
# Copyright (c) 2018, 2024, Oracle and/or its affiliates. All rights reserved.
33
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
#
55
# This code is free software; you can redistribute it and/or modify it
@@ -28,6 +28,5 @@
2828
#############################################################################
2929

3030
java/lang/invoke/MethodHandles/CatchExceptionTest.java 8146623 generic-all
31-
java/lang/management/MemoryMXBean/CollectionUsageThreshold.java 8318668 generic-all
3231
java/foreign/TestUpcallStress.java 8341584 generic-all
3332
com/sun/jdi/InterruptHangTest.java 8043571 generic-all

‎test/jdk/java/lang/management/MemoryMXBean/MemoryUtil.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2004, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -56,6 +56,8 @@ public static void printMemoryPool(MemoryPoolMXBean pool) {
5656
(pool.isUsageThresholdSupported() ? pool.getUsageThreshold() : -1));
5757
System.out.println(INDENT + "ThresholdCount: " +
5858
(pool.isUsageThresholdSupported() ? pool.getUsageThresholdCount() : -1));
59+
System.out.println(INDENT + "CollectionThresholdCount: " +
60+
(pool.isCollectionUsageThresholdSupported() ? pool.getCollectionUsageThresholdCount() : -1));
5961
System.out.print(INDENT + "Manager = [");
6062
String[] mgrs = pool.getMemoryManagerNames();
6163
for (int i = 0; i < mgrs.length; i++) {

‎test/jdk/java/lang/management/MemoryMXBean/RunUtil.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2014, 2018, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2014, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -73,6 +73,7 @@ private static void runTest(String main, boolean clearGcOpts, String... testOpts
7373
}
7474
opts.addAll(Arrays.asList(testOpts));
7575
opts.add(main);
76+
opts.add("trace");
7677

7778
OutputAnalyzer output = ProcessTools.executeProcess(opts.toArray(new String[0]));
7879
output.shouldHaveExitValue(0);

0 commit comments

Comments
 (0)
Please sign in to comment.