Skip to content
Permalink
Browse files

8172485: [TESTBUG] RedefineLeak.java runs out of metaspace memory

Check for zero exit value.

Reviewed-by: lfoltan
  • Loading branch information
Coleen Phillimore committed Mar 26, 2020
1 parent 307b376 commit d77c52b2559fb1a946e9fbf4bb0c8522d3e75324
Showing with 2 additions and 1 deletion.
  1. +2 −1 test/hotspot/jtreg/serviceability/jvmti/RedefineClasses/RedefineLeak.java
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2016, 2020, 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
@@ -107,6 +107,7 @@ public static void main(String argv[]) throws Exception {

OutputAnalyzer output = new OutputAnalyzer(pb.start());
output.shouldContain("transformCount:10000");
output.shouldHaveExitValue(0);
}
}
}

0 comments on commit d77c52b

Please sign in to comment.