mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-16 17:14:41 +02:00
8166002: Emulate client build on platforms with reduced virtual address space
The default VM ergonomics on Windows/x86 (32-bit) are changed to client like. Reviewed-by: kvn, iveresov
This commit is contained in:
parent
f02cb33818
commit
197ce5bafa
57 changed files with 261 additions and 124 deletions
|
@ -65,9 +65,9 @@ public class OverloadCompileQueueTest implements Runnable {
|
|||
AVAILABLE_LEVELS = IntStream
|
||||
.rangeClosed(LEVEL_SIMPLE, TIERED_STOP_AT_LEVEL)
|
||||
.toArray();
|
||||
} else if (Platform.isServer()) {
|
||||
} else if (Platform.isServer() && !Platform.isEmulatedClient()) {
|
||||
AVAILABLE_LEVELS = new int[] { LEVEL_FULL_OPTIMIZATION };
|
||||
} else if (Platform.isClient() || Platform.isMinimal()) {
|
||||
} else if (Platform.isClient() || Platform.isMinimal() || Platform.isEmulatedClient()) {
|
||||
AVAILABLE_LEVELS = new int[] { LEVEL_SIMPLE };
|
||||
} else {
|
||||
throw new Error("TESTBUG: unknown VM: " + Platform.vmName);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue