mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 12:09:14 +00:00
8319828: runtime/NMT/VirtualAllocCommitMerge.java may fail if mixing interpreted and compiled native invocations
Reviewed-by: stefank
This commit is contained in:
parent
a64fc48e2d
commit
6b21ff61da
@ -24,12 +24,15 @@
|
||||
/*
|
||||
* @test
|
||||
* @summary Test merging of committed virtual memory and that we track it correctly
|
||||
* @comment needs to be executed with -Xint (or, alternatively, -Xcomp -Xbatch) since it relies on comparing
|
||||
* NMT call stacks, and we must make sure that all functions on the stack that NMT sees are either compiled
|
||||
* from the get-go or stay always interpreted.
|
||||
* @library /test/lib
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @build jdk.test.whitebox.WhiteBox
|
||||
* @run driver jdk.test.lib.helpers.ClassFileInstaller jdk.test.whitebox.WhiteBox
|
||||
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:NativeMemoryTracking=detail VirtualAllocCommitMerge
|
||||
* @run main/othervm -Xbootclasspath/a:. -Xint -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:NativeMemoryTracking=detail VirtualAllocCommitMerge
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user