Minor bugfix for previous commit.
authorStefan Ring <stefan@complang.tuwien.ac.at>
Wed, 24 Jun 2009 06:26:11 +0000 (08:26 +0200)
committerStefan 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

index ae7bb874036d858dd59c9b74cd7f2f43786356ce..a26c7879b9643bc0e5dba9533d209b88925ce56c 100644 (file)
@@ -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 */