Other |
---|
repo-galahadFixed |
Relates :
|
Partial escape analysis can pick up allocations and lock operations and then materialize them all at once later. Currently the code isn't emitting the rematerialized locks in the right order which doesn't pose an deadlock problems since all the objects are non-escaping at the point of rematerialization. However with lightweight locking this means the lock stack is incorrect ordered which results in errors when unlocking. The fix is simply to emit them in the proper order.
|