projects
/
cacao.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
081b5d0
)
Minor bugfix for previous commit.
author
Stefan Ring
<stefan@complang.tuwien.ac.at>
Wed, 24 Jun 2009 06:26:11 +0000
(08:26 +0200)
committer
Stefan Ring
<stefan@complang.tuwien.ac.at>
Wed, 24 Jun 2009 06:26:11 +0000
(08:26 +0200)
* src/threads/lock.cpp (lock_hashtable_get): Use unordered finalization
like in src/mm/gc-boehm.cpp (heap_alloc).
src/threads/lock.cpp
patch
|
blob
|
history
diff --git
a/src/threads/lock.cpp
b/src/threads/lock.cpp
index ae7bb874036d858dd59c9b74cd7f2f43786356ce..a26c7879b9643bc0e5dba9533d209b88925ce56c 100644
(file)
--- a/
src/threads/lock.cpp
+++ b/
src/threads/lock.cpp
@@
-466,7
+466,7
@@
static lock_record_t *lock_hashtable_get(java_handle_t* o)
normal finalizer operation. We hold the monitor on this object, so
this is thread-safe. */
if (ofinal)
- GC_REGISTER_FINALIZER(LLNI_DIRECT(o), ofinal, 0, 0, 0);
+ GC_REGISTER_FINALIZER
_NO_ORDER
(LLNI_DIRECT(o), ofinal, 0, 0, 0);
#endif
/* enter it in the hashtable */