JavaVM.st
branchcvs_MAIN
changeset 3651 ad9d840e890c
parent 3594 5c34ce6d0d10
child 3656 e9cc6bf8a31a
--- a/JavaVM.st	Thu Oct 27 13:53:02 2016 +0200
+++ b/JavaVM.st	Thu Oct 27 13:53:15 2016 +0200
@@ -3373,7 +3373,7 @@
     "/ that on was only temporarily present in JDK1.1.3 (sigh)
     "/
 
-    (i := thread class instVarOffsetOf: 'initial_stack_memory') notNil ifTrue: [
+    (i := thread class instVarIndexFor: 'initial_stack_memory') notNil ifTrue: [
         thread instVarAt: i put: 0.
     ].
     thread instVarNamed: 'group' put: (self standardThreadGroup).
@@ -3413,7 +3413,7 @@
             put: (threadClass instVarNamed: 'MAX_PRIORITY').
         standardGroup instVarNamed: 'destroyed' put: 0.
         standardGroup instVarNamed: 'daemon' put: 0.
-        (standardGroup class instVarOffsetOf: 'vmAllowSuspension') notNil ifTrue: [
+        (standardGroup class instVarIndexFor: 'vmAllowSuspension') notNil ifTrue: [
             standardGroup instVarNamed: 'vmAllowSuspension' put: 0.
         ].
         standardGroup instVarNamed: 'nthreads' put: 0.