8343345: Use -jvmArgsPrepend when running microbenchmarks in RunTests.gmk

Reviewed-by: liach, ihse, erikj
This commit is contained in:
Claes Redestad 2024-10-31 22:30:25 +00:00
parent 29321447b1
commit b627a41f3d

View File

@ -604,7 +604,7 @@ define SetupRunMicroTestBody
$1_JMH_JVM_ARGS += $$(MICRO_VM_OPTIONS) $$(MICRO_JAVA_OPTIONS)
endif
$1_MICRO_VM_OPTIONS := -jvmArgs $(call ShellQuote,$$($1_JMH_JVM_ARGS))
$1_MICRO_VM_OPTIONS := -jvmArgsPrepend $(call ShellQuote,$$($1_JMH_JVM_ARGS))
ifneq ($$(MICRO_ITER), )
$1_MICRO_ITER := -i $$(MICRO_ITER)