[osv-dev] [PATCH] aarch64: enable JIT in java tests

2022-10-14 Thread Waldemar Kozaczuk
After the patch to move the malloc address space below 0x8000
is applied, we can enable JIT when running Java tests on aarch64.

So this patch simply modifies the tests makefile to make it no longer
add the '-Xint' JVM flag which enables interpreted execution mode and disables
JIT.

Signed-off-by: Waldemar Kozaczuk 
---
 modules/java-tests/Makefile | 12 
 1 file changed, 4 insertions(+), 8 deletions(-)

diff --git a/modules/java-tests/Makefile b/modules/java-tests/Makefile
index e5a046cb..4646fc08 100644
--- a/modules/java-tests/Makefile
+++ b/modules/java-tests/Makefile
@@ -66,16 +66,12 @@ $(tests-jar-target): $(wildcard 
$(java-base-path)/tests-for-java9_1x/src/main/ja
 module: $(tests-jar-target) test_commands
 endif
 
-ifeq ($(arch),aarch64)
-java_arch_options := -Xint
-endif
-
-java_isolated_cmd := 'java_isolated: /java_isolated.so $(java_arch_options) 
-cp /tests/java/tests.jar:/tests/java/isolates.jar \
+java_isolated_cmd := 'java_isolated: /java_isolated.so -cp 
/tests/java/tests.jar:/tests/java/isolates.jar \
 -Disolates.jar=/tests/java/isolates.jar org.junit.runner.JUnitCore 
io.osv.AllTestsThatTestIsolatedApp'
-java_non_isolated_cmd := 'java_non_isolated: /java.so $(java_arch_options) -cp 
/tests/java/tests.jar:/tests/java/isolates.jar \
+java_non_isolated_cmd := 'java_non_isolated: /java.so -cp 
/tests/java/tests.jar:/tests/java/isolates.jar \
 -Disolates.jar=/tests/java/isolates.jar org.junit.runner.JUnitCore 
io.osv.AllTestsThatTestNonIsolatedApp'
-java_no_wrapper_cmd := 'java_no_wrapper: /usr/bin/java $(java_arch_options) 
-cp /tests/java/tests.jar org.junit.runner.JUnitCore io.osv.BasicTests !'
-java_perms_cmd := 'java-perms: /usr/bin/java $(java_arch_options) -cp 
/tests/java/tests.jar io.osv.TestDomainPermissions !'
+java_no_wrapper_cmd := 'java_no_wrapper: /usr/bin/java -cp 
/tests/java/tests.jar org.junit.runner.JUnitCore io.osv.BasicTests !'
+java_perms_cmd := 'java-perms: /usr/bin/java -cp /tests/java/tests.jar 
io.osv.TestDomainPermissions !'
 
 .PHONY: test_commands
 
-- 
2.34.1

-- 
You received this message because you are subscribed to the Google Groups "OSv 
Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to osv-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/osv-dev/20221014190814.10795-1-jwkozaczuk%40gmail.com.


[osv-dev] Jenkins build is back to normal : osv-build-nightly #2896

2022-10-14 Thread jenkins via OSv Development
See 

-- 
You received this message because you are subscribed to the Google Groups "OSv 
Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to osv-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/osv-dev/710706386.3053.1665754627222%4060.58.228.35.bc.googleusercontent.com.