Skip to content

Commit

Permalink
8316658: serviceability/jvmti/RedefineClasses/RedefineLeakThrowable.j…
Browse files Browse the repository at this point in the history
…ava fails intermittently

Reviewed-by: coleenp, dholmes
  • Loading branch information
Jean-Philippe Bempel authored and David Holmes committed Sep 28, 2023
1 parent 52073b2 commit 84390dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion test/hotspot/jtreg/ProblemList.txt
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@ serviceability/sa/TestJmapCoreMetaspace.java 8267433 macosx-x64
serviceability/sa/ClhsdbDumpclass.java 8316342 generic-all

serviceability/attach/ConcAttachTest.java 8290043 linux-all
serviceability/jvmti/RedefineClasses/RedefineLeakThrowable.java 8316658 generic-all

#############################################################################

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
* @modules java.instrument
* java.compiler
* @run main RedefineClassHelper
* @run main/othervm/timeout=6000 -javaagent:redefineagent.jar -XX:MetaspaceSize=12m -XX:MaxMetaspaceSize=12m RedefineLeakThrowable
* @run main/othervm/timeout=6000 -javaagent:redefineagent.jar -XX:MetaspaceSize=17m -XX:MaxMetaspaceSize=17m RedefineLeakThrowable
*/

class Tester {
Expand Down Expand Up @@ -60,7 +60,7 @@ public class RedefineLeakThrowable {


public static void main(String argv[]) throws Exception {
for (int i = 0; i < 500; i++) {
for (int i = 0; i < 700; i++) {
RedefineClassHelper.redefineClass(Tester.class, NEW_TESTER);
}
}
Expand Down

1 comment on commit 84390dd

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.