summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_checker.h
diff options
context:
space:
mode:
author Alex Light <allight@google.com> 2019-12-20 12:58:14 -0800
committer Treehugger Robot <treehugger-gerrit@google.com> 2020-01-07 19:43:10 +0000
commit55d6fa4c352a1fadbd21b8d8e0929833e547b9e5 (patch)
tree2f84bbe0ee1129aa754a30603269e34656b30f07 /compiler/optimizing/graph_checker.h
parent65c18a21e7cb0d48327788df498f15ae195e9e3c (diff)
Remove finalizable restriction on structural redefinition
Previously we restricted performing structural redefinition of classes with finalizers. We did this because we need to be careful that finalizers are not run on any obsolete objects and are run on the replaced objects. This fixes these issues and removes the restriction. Note that the objects of classes that were initially non-finalizable and then redefined to be finalize able will never be called. This is (technically) compliant with the spec and avoids issues around safely creating finalizer references. See comment in ti_redefine.cc for more information. Test: ./test.py --host Bug: 134162467 Change-Id: I51d4de3d15833dce989cd1e44c32b0e6a57f063a
Diffstat (limited to 'compiler/optimizing/graph_checker.h')
0 files changed, 0 insertions, 0 deletions