You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[vm/bytecode] Avoid using stale bytecode after expression evaluation
Hot reload finds all KernelProgramInfo objects and resets object table
in the bytecode component (BytecodeReader::ResetObjectTable). This involves
reading of object offsets from kernel binary.
In case of expression evaluation, kernel binary is temporary and it is
deallocated immediately after expression evaluation is finished.
This change prevents patching of object table of bytecode components
created for expression evaluation, after expression evaluation is finished.
Fixes service/simple_reload_test with bytecode in dartk-asan-linux-release-x64
configuration.
Change-Id: I240dfa2a79030ae2924721e67d2ce7476e8da6fe
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/117600
Reviewed-by: Ryan Macnak <[email protected]>
Commit-Queue: Alexander Markov <[email protected]>
0 commit comments