|
1 | 1 | /* |
2 | 2 | * Copyright (c) 2022 SAP SE. All rights reserved. |
3 | | - * Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved. |
| 3 | + * Copyright (c) 2022, 2023, Oracle and/or its affiliates. All rights reserved. |
4 | 4 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
5 | 5 | * |
6 | 6 | * This code is free software; you can redistribute it and/or modify it |
|
26 | 26 | /* |
27 | 27 | * @test id=global-limit-fatal |
28 | 28 | * @summary Verify -XX:MallocLimit with a global limit |
| 29 | + * @requires vm.flagless |
29 | 30 | * @modules java.base/jdk.internal.misc |
30 | 31 | * @library /test/lib |
31 | 32 | * @run driver MallocLimitTest global-limit-fatal |
|
34 | 35 | /* |
35 | 36 | * @test id=global-limit-oom |
36 | 37 | * @summary Verify -XX:MallocLimit with a global limit |
| 38 | + * @requires vm.flagless |
37 | 39 | * @modules java.base/jdk.internal.misc |
38 | 40 | * @library /test/lib |
39 | 41 | * @run driver MallocLimitTest global-limit-oom |
|
42 | 44 | /* |
43 | 45 | * @test id=compiler-limit-fatal |
44 | 46 | * @summary Verify -XX:MallocLimit with a compiler-specific limit (for "mtCompiler" category) |
| 47 | + * @requires vm.flagless |
45 | 48 | * @modules java.base/jdk.internal.misc |
46 | 49 | * @library /test/lib |
47 | 50 | * @run driver MallocLimitTest compiler-limit-fatal |
|
50 | 53 | /* |
51 | 54 | * @test id=compiler-limit-oom |
52 | 55 | * @summary Verify -XX:MallocLimit with a compiler-specific limit (for "mtCompiler" category) |
| 56 | + * @requires vm.flagless |
53 | 57 | * @modules java.base/jdk.internal.misc |
54 | 58 | * @library /test/lib |
55 | 59 | * @run driver MallocLimitTest compiler-limit-oom |
|
58 | 62 | /* |
59 | 63 | * @test id=multi-limit |
60 | 64 | * @summary Verify -XX:MallocLimit with multiple limits |
| 65 | + * @requires vm.flagless |
61 | 66 | * @modules java.base/jdk.internal.misc |
62 | 67 | * @library /test/lib |
63 | 68 | * @run driver MallocLimitTest multi-limit |
|
66 | 71 | /* |
67 | 72 | * @test id=limit-without-nmt |
68 | 73 | * @summary Verify that the VM warns if -XX:MallocLimit is given but NMT is disabled |
| 74 | + * @requires vm.flagless |
69 | 75 | * @modules java.base/jdk.internal.misc |
70 | 76 | * @library /test/lib |
71 | 77 | * @run driver MallocLimitTest limit-without-nmt |
|
0 commit comments