- JavaBenchmark jk_new_structure
authorvranyj1
Wed, 07 Nov 2012 20:39:53 +0000
branchjk_new_structure
changeset 1811 e97e02d47e1e
parent 1810 a955001a1aa1
child 1812 7b8fcf7d0562
- JavaBenchmark changed: #runJ: #runS2J: Do not turn on JIT compiler nor any other system setup. This is done in JavaBenchmarkRunner.
src/benchmarks/JavaBenchmark.st
--- a/src/benchmarks/JavaBenchmark.st	Tue Nov 06 22:30:30 2012 +0000
+++ b/src/benchmarks/JavaBenchmark.st	Wed Nov 07 20:39:53 2012 +0000
@@ -131,16 +131,6 @@
      and machine-compile Java code"
 
     JavaVM booted ifFalse:[
-
-        "Set stack size to 16MB"
-        Process defaultMaximumStackSize: ((1024 * 1024 * 160) max: Process defaultMaximumStackSize).
-
-        "Setup for performance"
-        JavaNativeMethod cacheNativeImplementation: true.
-        ObjectMemory justInTimeCompilation: true.
-        ObjectMemory javaNativeCodeOptimization:true.
-        ObjectMemory javaJustInTimeCompilation: true.        
-
         Java flushAllJavaResources.
         Java initialize.
         JavaVM initializeVM.
@@ -159,7 +149,7 @@
     ^time.
 
     "Created: / 31-10-2012 / 11:15:41 / Jan Vrany <jan.vrany@fit.cvut.cz>"
-    "Modified: / 02-11-2012 / 02:30:37 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+    "Modified: / 07-11-2012 / 20:41:01 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 !
 
 runS2J: passes
@@ -173,16 +163,6 @@
      and machine-compile Java code"
 
     JavaVM booted ifFalse:[
-
-        "Set stack size to 16MB"
-        Process defaultMaximumStackSize: ((1024 * 1024 * 160) max: Process defaultMaximumStackSize).
-
-        "Setup for performance"
-        JavaNativeMethod cacheNativeImplementation: true.
-        ObjectMemory justInTimeCompilation: true.
-        ObjectMemory javaNativeCodeOptimization:true.
-        ObjectMemory javaJustInTimeCompilation: true.        
-
         Java flushAllJavaResources.
         Java initialize.
         JavaVM initializeVM.
@@ -200,7 +180,7 @@
     ^time.
 
     "Created: / 31-10-2012 / 23:40:17 / Jan Vrany <jan.vrany@fit.cvut.cz>"
-    "Modified: / 02-11-2012 / 02:30:48 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+    "Modified: / 07-11-2012 / 20:41:11 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 !
 
 runS: passes