< prev index next > test/hotspot/jtreg/vmTestbase/nsk/jvmti/Allocate/alloc001/alloc001.java
Print this page
/*
! * Copyright (c) 2003, 2025, 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
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
/*
! * Copyright (c) 2003, 2026, 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
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
String cmd = ProcessTools.getCommandLine(ProcessTools.createTestJavaProcessBuilder(
"-XX:MaxHeapSize=" + (Platform.is32bit() ? "256m" : "512m"),
"-Djava.library.path=" + Utils.TEST_NATIVE_PATH,
"-agentpath:" + Utils.TEST_NATIVE_PATH + File.separator + System.mapLibraryName("alloc001"),
"-XX:CompressedClassSpaceSize=64m",
- "-Xint", // Avoids issues with libjvmci failing to reserve
- // a large virtual address space for its heap
Test.class.getName()
));
cmd = escapeCmd(cmd);
int ulimitV = Platform.is32bit() ? 1048576 : 4194303;
< prev index next >