Commit fbd76ca 1 parent baeb3d9 commit fbd76ca Copy full SHA for fbd76ca
File tree 1 file changed +1
-16
lines changed
test/hotspot/jtreg/serviceability/jvmti/RedefineClasses
1 file changed +1
-16
lines changed Original file line number Diff line number Diff line change 26
26
* @bug 8308762
27
27
* @library /test/lib
28
28
* @summary Test that redefinition of class containing Throwable refs does not leak constant pool
29
- * @requires os.family == "aix"
30
29
* @requires vm.jvmti
31
30
* @requires vm.flagless
32
31
* @modules java.base/jdk.internal.misc
36
35
* @run main/othervm/timeout=6000 -javaagent:redefineagent.jar -XX:MetaspaceSize=25m -XX:MaxMetaspaceSize=25m RedefineLeakThrowable
37
36
*/
38
37
39
- /*
40
- * @test
41
- * @bug 8308762
42
- * @library /test/lib
43
- * @summary Test that redefinition of class containing Throwable refs does not leak constant pool
44
- * @requires os.family != "aix"
45
- * @requires vm.jvmti
46
- * @requires vm.flagless
47
- * @modules java.base/jdk.internal.misc
48
- * @modules java.instrument
49
- * java.compiler
50
- * @run main RedefineClassHelper
51
- * @run main/othervm/timeout=6000 -javaagent:redefineagent.jar -XX:MetaspaceSize=17m -XX:MaxMetaspaceSize=17m RedefineLeakThrowable
52
- */
53
-
38
+ // MaxMetaspaceSize=25m allows InMemoryJavaCompiler to load even if CDS is off.
54
39
class Tester {
55
40
void test () {
56
41
try {
You can’t perform that action at this time.
0 commit comments