File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 11/*
2- * Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved.
2+ * Copyright (c) 2023, 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
2626 * @bug 8297638
2727 * @summary JDI memory leak when creating and destroying many threads
2828 *
29- * @comment Don't allow -Xcomp or -Xint as they impact memory useage and number of iterations
30- * @requires (vm.compMode == "Xmixed")
29+ * @comment Don't allow -Xcomp or -Xint as they impact memory useage and number of iterations.
30+ * Require compressed oops because not doing so increases memory usage.
31+ * @requires (vm.compMode == "Xmixed") & vm.opt.final.UseCompressedOops
3132 * @run build TestScaffold VMConnection TargetListener TargetAdapter
3233 * @run compile -g ThreadMemoryLeakTest.java
3334 * @comment run with -Xmx7m so any leak will quickly produce OOME
You can’t perform that action at this time.
0 commit comments