mirror of
https://github.com/corda/corda.git
synced 2025-01-06 05:04:20 +00:00
staticly type finalizer and cleaner
This commit is contained in:
parent
1e201e54fc
commit
4df8f59f3c
@ -5182,11 +5182,11 @@ runFinalizeThread(Thread* t)
|
||||
}
|
||||
}
|
||||
|
||||
for (; finalizeList; finalizeList = finalizerQueueNext(t, finalizeList)) {
|
||||
for (; finalizeList; finalizeList = reinterpret_cast<object>(finalizerQueueNext(t, finalizeList))) {
|
||||
finalizeObject(t, finalizerQueueTarget(t, finalizeList), "finalize");
|
||||
}
|
||||
|
||||
for (; cleanList; cleanList = cleanerQueueNext(t, cleanList)) {
|
||||
for (; cleanList; cleanList = reinterpret_cast<object>(cleanerQueueNext(t, cleanList))) {
|
||||
finalizeObject(t, cleanList, "clean");
|
||||
}
|
||||
}
|
||||
|
@ -91,7 +91,7 @@
|
||||
(void* finalize)
|
||||
(nogc object next)
|
||||
(object queueTarget)
|
||||
(object queueNext))
|
||||
(finalizer queueNext))
|
||||
|
||||
(type list
|
||||
(uint32_t size)
|
||||
@ -294,7 +294,7 @@
|
||||
(type phantomReference java/lang/ref/PhantomReference)
|
||||
|
||||
(type cleaner sun/misc/Cleaner
|
||||
(object queueNext))
|
||||
(cleaner queueNext))
|
||||
|
||||
(type byteArray [B
|
||||
(extends jobject)
|
||||
|
Loading…
Reference in New Issue
Block a user