dart-sdk/runtime/vm
Chinmay Garde b83bcf59f2 Call dart::StubCode::Cleanup in AOT mode as well.
The absense of this call would result in a crash on the second Dart_Initialize
in AOT mode.

Change-Id: I79fc8be72f8eb7f5c2e652d7ebe1251625e421d4
Reviewed-on: https://dart-review.googlesource.com/c/93374
Commit-Queue: Ryan Macnak <rmacnak@google.com>
Reviewed-by: Ryan Macnak <rmacnak@google.com>
2019-02-20 00:43:31 +00:00
..
compiler [VM] Fix deadlock between mutator and BG compiler 2019-02-19 14:00:04 +00:00
heap [vm/tlab] Abandon tlab when thread gets descheduled. Allow all threads to allocate from tlab. Add tlab test. 2019-02-14 21:45:00 +00:00
service
allocation.cc
allocation.h
allocation_test.cc
assert_test.cc
ast.h
atomic_test.cc
base64.cc
base64.h
base64_test.cc
base_isolate.h
benchmark_test.cc
benchmark_test.h
bit_set.h
bit_set_test.cc
bit_vector.cc
bit_vector.h
bit_vector_test.cc
bitfield.h
bitfield_test.cc
bitmap.cc
bitmap.h
bitmap_test.cc
boolfield.h
boolfield_test.cc
bootstrap.cc
bootstrap.h
bootstrap_natives.cc [vm / library] Foreign function interface prototype 2019-02-13 12:42:47 +00:00
bootstrap_natives.h [vm / library] Foreign function interface prototype 2019-02-13 12:42:47 +00:00
BUILD.gn [vm / library] Foreign function interface prototype 2019-02-13 12:42:47 +00:00
class_finalizer.cc [vm / library] Foreign function interface prototype 2019-02-13 12:42:47 +00:00
class_finalizer.h
class_finalizer_test.cc
class_id.h [vm / library] Foreign function interface prototype 2019-02-13 12:42:47 +00:00
class_table.cc [vm, aot] Remove KernelProgramInfo etc before Symbols::Compact. 2019-02-08 17:16:26 +00:00
class_table.h [vm, aot] Remove KernelProgramInfo etc before Symbols::Compact. 2019-02-08 17:16:26 +00:00
clustered_snapshot.cc [vm] Add names for more types to the V8 snapshot profile output. 2019-02-12 17:54:58 +00:00
clustered_snapshot.h
code_descriptors.cc
code_descriptors.h
code_descriptors_test.cc
code_entry_kind.h
code_observers.cc
code_observers.h
code_patcher.cc
code_patcher.h
code_patcher_arm.cc
code_patcher_arm64.cc
code_patcher_arm64_test.cc
code_patcher_arm_test.cc
code_patcher_dbc.cc
code_patcher_ia32.cc
code_patcher_ia32_test.cc
code_patcher_kbc.cc
code_patcher_x64.cc
code_patcher_x64_test.cc
compilation_trace.cc
compilation_trace.h
compiler_test.cc
constants.h
constants_arm.h
constants_arm64.h
constants_dbc.h
constants_ia32.h
constants_kbc.h [vm/bytecode] Revise representation of types, constants and calls in bytecode 2019-02-05 20:13:45 +00:00
constants_x64.cc [vm / library] Foreign function interface prototype 2019-02-13 12:42:47 +00:00
constants_x64.h [vm / library] Foreign function interface prototype 2019-02-13 12:42:47 +00:00
constants_x86.h
cpu.h
cpu_arm.cc
cpu_arm.h
cpu_arm64.cc
cpu_arm64.h
cpu_dbc.cc
cpu_dbc.h
cpu_ia32.cc
cpu_ia32.h
cpu_test.cc
cpu_x64.cc
cpu_x64.h
cpuid.cc
cpuid.h
cpuinfo.h
cpuinfo_android.cc
cpuinfo_fuchsia.cc
cpuinfo_linux.cc
cpuinfo_macos.cc
cpuinfo_test.cc
cpuinfo_win.cc
custom_isolate_test.cc
dart.cc Call dart::StubCode::Cleanup in AOT mode as well. 2019-02-20 00:43:31 +00:00
dart.h
dart_api_impl.cc [vm] Support closurization of methods through @pragma entry-points. 2019-02-14 17:47:28 +00:00
dart_api_impl.h [vm / library] Foreign function interface prototype 2019-02-13 12:42:47 +00:00
dart_api_impl_test.cc
dart_api_message.cc
dart_api_message.h
dart_api_state.cc
dart_api_state.h
dart_entry.cc
dart_entry.h
dart_entry_test.cc
datastream.cc
datastream.h
debugger.cc
debugger.h
debugger_api_impl_test.cc
debugger_api_impl_test.h
debugger_arm.cc
debugger_arm64.cc
debugger_dbc.cc
debugger_ia32.cc
debugger_x64.cc
deferred_objects.cc
deferred_objects.h
deopt_instructions.cc
deopt_instructions.h
double_conversion.cc
double_conversion.h
double_internals.h
dwarf.cc
dwarf.h
exceptions.cc
exceptions.h
exceptions_test.cc
ffi_trampoline_stubs_x64.cc [vm/ffi] void functions 2019-02-18 13:15:21 +00:00
finalizable_data.h
find_code_object_test.cc
fixed_cache.h
fixed_cache_test.cc
flag_list.h [vm / library] Foreign function interface prototype 2019-02-13 12:42:47 +00:00
flags.cc
flags.h
flags_test.cc
frame_layout.h Reland "[vm] Decouple stub code from runtime" 2019-02-12 13:52:28 +00:00
gdb_helpers.cc
globals.h
growable_array.h
growable_array_test.cc
guard_field_test.cc
handle_visitor.h
handles.cc
handles.h
handles_impl.h
handles_test.cc
hash.h
hash_map.h
hash_map_test.cc
hash_table.h
hash_table_test.cc
image_snapshot.cc [vm] Rename RawObject::Size to RawObject::HeapSize. 2019-02-08 18:48:46 +00:00
image_snapshot.h
instructions.h
instructions_arm.cc
instructions_arm.h
instructions_arm64.cc
instructions_arm64.h
instructions_arm64_test.cc
instructions_arm_test.cc
instructions_dbc.cc
instructions_dbc.h
instructions_ia32.cc
instructions_ia32.h
instructions_ia32_test.cc
instructions_kbc.cc
instructions_kbc.h
instructions_x64.cc
instructions_x64.h
instructions_x64_test.cc
interpreter.cc [VM/interpreter] Skip tests enabling interpreter when not supported (fixes #35943). 2019-02-15 00:51:52 +00:00
interpreter.h
intrusive_dlist.h
intrusive_dlist_test.cc
isolate.cc
isolate.h [vm] Remove single-stepping from PRODUCT 2019-02-05 21:51:55 +00:00
isolate_reload.cc
isolate_reload.h
isolate_reload_test.cc
isolate_test.cc
json_stream.cc
json_stream.h
json_test.cc
json_writer.cc
json_writer.h
kernel.cc [vm] Load top-level functions and variables lazily 2019-02-07 18:12:34 +00:00
kernel.h
kernel_binary.cc
kernel_binary.h [vm/bytecode] Revise representation of types, constants and calls in bytecode 2019-02-05 20:13:45 +00:00
kernel_isolate.cc
kernel_isolate.h
kernel_loader.cc [vm] Support closurization of methods through @pragma entry-points. 2019-02-14 17:47:28 +00:00
kernel_loader.h [VM} Fix script URLs for dart:* libraries 2019-02-13 21:27:47 +00:00
lockers.cc
lockers.h
log.cc
log.h
log_test.cc
longjump.cc
longjump.h
longjump_test.cc
malloc_hooks.h
malloc_hooks_arm.cc
malloc_hooks_arm64.cc
malloc_hooks_ia32.cc
malloc_hooks_jemalloc.cc
malloc_hooks_tcmalloc.cc
malloc_hooks_test.cc
malloc_hooks_unsupported.cc
malloc_hooks_x64.cc
megamorphic_cache_table.cc Reland "[vm] Decouple stub code from runtime" 2019-02-12 13:52:28 +00:00
megamorphic_cache_table.h
memory_region.cc
memory_region.h
memory_region_test.cc
message.cc
message.h
message_handler.cc
message_handler.h
message_handler_test.cc
message_test.cc
metrics.cc
metrics.h
metrics_test.cc
mixin_test.cc
native_api_impl.cc
native_arguments.h [vm / library] Foreign function interface prototype 2019-02-13 12:42:47 +00:00
native_entry.cc [vm / library] Foreign function interface prototype 2019-02-13 12:42:47 +00:00
native_entry.h [vm / library] Foreign function interface prototype 2019-02-13 12:42:47 +00:00
native_entry_test.cc
native_entry_test.h
native_function.h
native_message_handler.cc
native_message_handler.h
native_symbol.h
native_symbol_android.cc
native_symbol_fuchsia.cc
native_symbol_linux.cc
native_symbol_macos.cc
native_symbol_win.cc
object.cc [VM] Fix deadlock between mutator and BG compiler 2019-02-19 14:00:04 +00:00
object.h [VM] Fix deadlock between mutator and BG compiler 2019-02-19 14:00:04 +00:00
object_arm64_test.cc
object_arm_test.cc
object_dbc_test.cc
object_graph.cc [vm] Rename RawObject::Size to RawObject::HeapSize. 2019-02-08 18:48:46 +00:00
object_graph.h
object_graph_test.cc [vm] Rename RawObject::Size to RawObject::HeapSize. 2019-02-08 18:48:46 +00:00
object_ia32_test.cc
object_id_ring.cc
object_id_ring.h
object_id_ring_test.cc
object_reload.cc [vm] Add names for more types to the V8 snapshot profile output. 2019-02-12 17:54:58 +00:00
object_service.cc [vm / library] Foreign function interface prototype 2019-02-13 12:42:47 +00:00
object_set.h
object_store.cc
object_store.h [vm / library] Foreign function interface prototype 2019-02-13 12:42:47 +00:00
object_store_test.cc
object_test.cc [VM] Fix deadlock between mutator and BG compiler 2019-02-19 14:00:04 +00:00
object_x64_test.cc
os.h
os_android.cc
os_fuchsia.cc
os_linux.cc
os_macos.cc
os_test.cc
os_thread.cc
os_thread.h
os_thread_android.cc [standalone] Name dart:io threads, take 2. 2019-02-13 20:29:46 +00:00
os_thread_android.h
os_thread_fuchsia.cc [standalone] Name dart:io threads, take 2. 2019-02-13 20:29:46 +00:00
os_thread_fuchsia.h
os_thread_linux.cc [standalone] Name dart:io threads, take 2. 2019-02-13 20:29:46 +00:00
os_thread_linux.h
os_thread_macos.cc [standalone] Name dart:io threads, take 2. 2019-02-13 20:29:46 +00:00
os_thread_macos.h
os_thread_win.cc [standalone] Name dart:io threads, take 2. 2019-02-13 20:29:46 +00:00
os_thread_win.h
os_win.cc
parser.cc
parser.h
pointer_tagging.h
port.cc
port.h
port_test.cc
proccpuinfo.cc
proccpuinfo.h
profiler.cc
profiler.h
profiler_service.cc
profiler_service.h
profiler_test.cc
program_visitor.cc Save Initializer for field and pass into debugger to enable breakpoint setting. 2019-02-06 03:20:35 +00:00
program_visitor.h
random.cc
random.h
raw_object.cc [vm / library] Foreign function interface prototype 2019-02-13 12:42:47 +00:00
raw_object.h [vm] Support closurization of methods through @pragma entry-points. 2019-02-14 17:47:28 +00:00
raw_object_fields.cc [vm / library] Foreign function interface prototype 2019-02-13 12:42:47 +00:00
raw_object_fields.h
raw_object_snapshot.cc [vm / library] Foreign function interface prototype 2019-02-13 12:42:47 +00:00
regexp.cc [vm] Add macro for fallthrough annotations 2019-02-15 01:12:01 +00:00
regexp.h
regexp_assembler.cc
regexp_assembler.h
regexp_assembler_bytecode.cc
regexp_assembler_bytecode.h
regexp_assembler_bytecode_inl.h
regexp_assembler_ir.cc
regexp_assembler_ir.h
regexp_ast.cc
regexp_ast.h
regexp_bytecodes.h
regexp_interpreter.cc [vm] Increase the size of the irregexp interpreter's backtracing stack. 2019-02-08 18:52:05 +00:00
regexp_interpreter.h
regexp_parser.cc [vm] Add macro for fallthrough annotations 2019-02-15 01:12:01 +00:00
regexp_parser.h
regexp_test.cc
report.cc
report.h
resolver.cc
resolver.h
resolver_test.cc
reusable_handles.h
reverse_pc_lookup_cache.cc
reverse_pc_lookup_cache.h
ring_buffer.h
ring_buffer_test.cc
runtime_entry.cc [vm / library] Foreign function interface prototype 2019-02-13 12:42:47 +00:00
runtime_entry.h [ VM ] Fix hang of Flutter engine tests caused by global RuntimeEntry objects being destroyed when exit() is called when the VM hasn't finished shutting down. 2019-02-06 22:37:24 +00:00
runtime_entry_arm.cc [ VM ] Fix hang of Flutter engine tests caused by global RuntimeEntry objects being destroyed when exit() is called when the VM hasn't finished shutting down. 2019-02-06 22:37:24 +00:00
runtime_entry_arm64.cc [ VM ] Fix hang of Flutter engine tests caused by global RuntimeEntry objects being destroyed when exit() is called when the VM hasn't finished shutting down. 2019-02-06 22:37:24 +00:00
runtime_entry_dbc.cc [ VM ] Fix hang of Flutter engine tests caused by global RuntimeEntry objects being destroyed when exit() is called when the VM hasn't finished shutting down. 2019-02-06 22:37:24 +00:00
runtime_entry_ia32.cc [ VM ] Fix hang of Flutter engine tests caused by global RuntimeEntry objects being destroyed when exit() is called when the VM hasn't finished shutting down. 2019-02-06 22:37:24 +00:00
runtime_entry_list.h [vm / library] Foreign function interface prototype 2019-02-13 12:42:47 +00:00
runtime_entry_x64.cc [ VM ] Fix hang of Flutter engine tests caused by global RuntimeEntry objects being destroyed when exit() is called when the VM hasn't finished shutting down. 2019-02-06 22:37:24 +00:00
scope_timer.h
scopes.cc
scopes.h
scopes_test.cc
service.cc [VM] Fix deadlock between mutator and BG compiler 2019-02-19 14:00:04 +00:00
service.h
service_event.cc
service_event.h
service_isolate.cc
service_isolate.h
service_test.cc
signal_handler.h
signal_handler_android.cc
signal_handler_fuchsia.cc
signal_handler_linux.cc
signal_handler_macos.cc
signal_handler_win.cc
simulator.h
simulator_arm.cc [vm] Add macro for fallthrough annotations 2019-02-15 01:12:01 +00:00
simulator_arm.h
simulator_arm64.cc
simulator_arm64.h
simulator_dbc.cc [vm] Add names for more types to the V8 snapshot profile output. 2019-02-12 17:54:58 +00:00
simulator_dbc.h
snapshot.cc [vm / library] Foreign function interface prototype 2019-02-13 12:42:47 +00:00
snapshot.h [vm / library] Foreign function interface prototype 2019-02-13 12:42:47 +00:00
snapshot_ids.h
snapshot_test.cc
snapshot_test.dart
snapshot_test_in.dat
source_report.cc
source_report.h
source_report_test.cc
stack_frame.cc Reland "[vm] Decouple stub code from runtime" 2019-02-12 13:52:28 +00:00
stack_frame.h
stack_frame_arm.h
stack_frame_arm64.h
stack_frame_dbc.h
stack_frame_ia32.h
stack_frame_kbc.h
stack_frame_test.cc
stack_frame_x64.h
stack_trace.cc
stack_trace.h
static_type_exactness_state.h Reland "[vm] Decouple stub code from runtime" 2019-02-12 13:52:28 +00:00
stub_code.cc Call dart::StubCode::Cleanup in AOT mode as well. 2019-02-20 00:43:31 +00:00
stub_code.h Reland "[vm] Decouple stub code from runtime" 2019-02-12 13:52:28 +00:00
stub_code_arm64_test.cc [VM] Fix deadlock between mutator and BG compiler 2019-02-19 14:00:04 +00:00
stub_code_arm_test.cc [VM] Fix deadlock between mutator and BG compiler 2019-02-19 14:00:04 +00:00
stub_code_ia32_test.cc [VM] Fix deadlock between mutator and BG compiler 2019-02-19 14:00:04 +00:00
stub_code_list.h Reland "[vm] Decouple stub code from runtime" 2019-02-12 13:52:28 +00:00
stub_code_x64_test.cc [VM] Fix deadlock between mutator and BG compiler 2019-02-19 14:00:04 +00:00
symbols.cc [vm, aot] Remove KernelProgramInfo etc before Symbols::Compact. 2019-02-08 17:16:26 +00:00
symbols.h [vm] Support closurization of methods through @pragma entry-points. 2019-02-14 17:47:28 +00:00
tags.cc
tags.h
thread.cc [vm/tlab] Abandon tlab when thread gets descheduled. Allow all threads to allocate from tlab. Add tlab test. 2019-02-14 21:45:00 +00:00
thread.h
thread_barrier.h
thread_barrier_test.cc
thread_interrupter.cc
thread_interrupter.h
thread_interrupter_android.cc
thread_interrupter_fuchsia.cc
thread_interrupter_linux.cc
thread_interrupter_macos.cc
thread_interrupter_win.cc
thread_pool.cc
thread_pool.h
thread_pool_test.cc
thread_registry.cc
thread_registry.h
thread_stack_resource.cc
thread_stack_resource.h
thread_state.cc
thread_state.h
thread_test.cc [vm/tlab] Abandon tlab when thread gets descheduled. Allow all threads to allocate from tlab. Add tlab test. 2019-02-14 21:45:00 +00:00
timeline.cc
timeline.h
timeline_analysis.cc
timeline_analysis.h
timeline_android.cc [vm] Add macro for fallthrough annotations 2019-02-15 01:12:01 +00:00
timeline_fuchsia.cc
timeline_linux.cc [vm] Add macro for fallthrough annotations 2019-02-15 01:12:01 +00:00
timeline_test.cc
timer.cc
timer.h
token.cc
token.h
token_position.cc
token_position.h
type_table.h
type_testing_stubs.cc [VM] Fix deadlock between mutator and BG compiler 2019-02-19 14:00:04 +00:00
type_testing_stubs.h
type_testing_stubs_arm.cc Reland "[vm] Decouple stub code from runtime" 2019-02-12 13:52:28 +00:00
type_testing_stubs_arm64.cc Reland "[vm] Decouple stub code from runtime" 2019-02-12 13:52:28 +00:00
type_testing_stubs_x64.cc Reland "[vm] Decouple stub code from runtime" 2019-02-12 13:52:28 +00:00
unibrow-inl.h
unibrow.cc
unibrow.h
unicode.cc
unicode.h
unicode_data.cc
unicode_test.cc
unit_test.cc [VM] Fix deadlock between mutator and BG compiler 2019-02-19 14:00:04 +00:00
unit_test.h
uri.cc
uri.h
uri_test.cc
utils_test.cc
v8_snapshot_writer.cc
v8_snapshot_writer.h
verified_memory_test.cc
version.h
version_in.cc
virtual_memory.cc
virtual_memory.h
virtual_memory_fuchsia.cc
virtual_memory_posix.cc
virtual_memory_test.cc
virtual_memory_win.cc
visitor.h
vm_sources.gni [vm / library] Foreign function interface prototype 2019-02-13 12:42:47 +00:00
zone.cc
zone.h
zone_test.cc
zone_text_buffer.cc
zone_text_buffer.h