equal
deleted
inserted
replaced
54 instanceVariableNames:'vm constantPoolMapping javaClasses javaArrayClasses' |
54 instanceVariableNames:'vm constantPoolMapping javaClasses javaArrayClasses' |
55 classVariableNames:'' |
55 classVariableNames:'' |
56 poolDictionaries:'JavaVMData' |
56 poolDictionaries:'JavaVMData' |
57 privateIn:JavaVM |
57 privateIn:JavaVM |
58 ! |
58 ! |
|
59 |
|
60 !JavaVM primitiveDefinitions! |
|
61 %{ |
|
62 |
|
63 #include "thinlocks.h" |
|
64 |
|
65 %} |
|
66 ! ! |
59 |
67 |
60 !JavaVM class methodsFor:'documentation'! |
68 !JavaVM class methodsFor:'documentation'! |
61 |
69 |
62 copyright |
70 copyright |
63 " |
71 " |
4684 ! |
4692 ! |
4685 |
4693 |
4686 inflateLockFor: obj lockword: lw |
4694 inflateLockFor: obj lockword: lw |
4687 | threadId count mon | |
4695 | threadId count mon | |
4688 %{ |
4696 %{ |
4689 threadId = __MKINT(__LOCKWORD_TID_GET(lw)); |
4697 threadId = __MKINT( stxLockwordGetPid((unsigned INT)lw) ); |
4690 count = __MKINT(__LOCKWORD_CNT_GET(lw)); |
4698 count = __MKINT( stxLockwordGetCnt((unsigned INT)lw) ); |
4691 %}. |
4699 %}. |
4692 ^ JavaMonitor for: obj thread: threadId nestedLockCount: count. |
4700 ^ JavaMonitor for: obj thread: threadId nestedLockCount: count. |
4693 |
4701 |
4694 "Modified (format): / 27-08-2012 / 15:34:52 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
4702 "Modified (format): / 27-08-2012 / 15:34:52 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
4695 ! |
4703 ! |