mirror of
https://github.com/corda/corda.git
synced 2025-02-01 08:48:09 +00:00
59183c7821
The stack mapping code was broken for cases of stack slots being reused to hold primitives or addresses within subroutines after previously being used to hold object references. We now bitwise "and" the stack map upon return from the subroutine with the map as it existed prior to calling the subroutine, which has the effect of clearing map locations previously marked as GC roots where appropriate.