dart-sdk/runtime/vm
Jens Johansen d5b01a1960 [VM] Ignore dart scheme scripts in isolate reload
After cl/128585 landed a app-jit failure started throwing an error:
>testee>err> kernel-service: Error: Unhandled exception:
>testee>err> Bad state: No element
>testee>err> #0      Iterable.first (dart:core/iterable.dart:520:7)
>testee>err> #1      MappedIterable.first (dart:_internal/iterable.dart:374:31)
>testee>err> #2      lookupOrBuildNewIncrementalCompiler (file:///b/s/w/ir/cache/builder/sdk/pkg/vm/bin/kernel_service.dart:400:45)
>testee>err> #3      _processLoadRequest (file:///b/s/w/ir/cache/builder/sdk/pkg/vm/bin/kernel_service.dart:679:22)
>testee>err> #4      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:174:12)
>testee>err>

This is caused by the change ultimately adding scripts for the used
mixed in files in "LoadedScripts".
In this case "dart:collection/map.dart" (as I recall) was added to it.
When reloading the source, it runs through all libraries that
"isn't dart scheme", and for all of those libraries through all scripts
reported by LoadedScripts for that library (now including something from
the platform), and checking if it has been modified. Checking if it is
modified only works for file:/// uris through, which platform files aren't,
so it just reports true (i.e. the file is modified).
This is then passed to the kernel service which - based on the list of
one file modified - somehow concludes that it has a compiler already
(which it doesn't) and then crashes.

This CL fixes this specific issue by also skipping scripts that are
"dart scheme".

There's still an underlying issue that has nothing to do with cl/128585
though. I'll comment on that in the bug
(https://github.com/dart-lang/sdk/issues/39869).

Bug: 39869
Change-Id: I1a3f2de888ec53c40f4b6b46a369595abae5bb44
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/130374
Commit-Queue: Jens Johansen <jensj@google.com>
Reviewed-by: Martin Kustermann <kustermann@google.com>
2020-01-09 07:55:27 +00:00
..
compiler [vm/compiler] Remove PushArgument instructions from IL up to AllocateRegisters 2020-01-09 01:37:27 +00:00
heap [vm, gc] Add missing check to begin concurrent marking during large page allocation. 2020-01-09 01:02:48 +00:00
libfuzzer [vm/fuzzer] Added links to Dust 2019-08-08 00:47:55 +00:00
service [ VM / dart:io / Service ] Add service extension RPCs to dart:io to allow for HttpClient.enableTimelineLogging to be set remotely. 2019-12-26 23:23:34 +00:00
allocation.cc
allocation.h
allocation_test.cc
assert_test.cc
atomic_test.cc [vm] Fix some TSAN failures. Migrate remaining uses of AtomicOperations to std::atomic. 2019-10-21 16:26:39 +00:00
base64.cc [vm] Make kernel buffers live exactly as long as their derived views. 2019-12-03 22:00:48 +00:00
base64.h [vm] Make kernel buffers live exactly as long as their derived views. 2019-12-03 22:00:48 +00:00
base64_test.cc [vm] Make kernel buffers live exactly as long as their derived views. 2019-12-03 22:00:48 +00:00
base_isolate.h [vm/concurrency] Make thread_registry not depend on [Isolate], move mutator thread from thread registry to isolate 2019-07-11 13:36:02 +00:00
benchmark_test.cc [vm] Always use bytecode when it is present in a kernel file. Let FLAG_use_bytecode_compiler only control whether the kernel isolate generates bytecode. 2019-11-01 17:06:02 +00:00
benchmark_test.h
bit_set.h [vm/compiler] bit utilities 2019-10-07 18:13:06 +00:00
bit_set_test.cc
bit_vector.cc
bit_vector.h
bit_vector_test.cc
bitfield.h [vm] Progress toward running without TSAN warnings. 2019-12-16 18:32:23 +00:00
bitfield_test.cc
bitmap.cc [vm/compiler] Reland "Further compress the information... in StackMaps." 2019-10-16 08:25:53 +00:00
bitmap.h [vm/compiler] Reland "Further compress the information... in StackMaps." 2019-10-16 08:25:53 +00:00
bitmap_test.cc [vm/compiler] Canonicalize CompressedStackMaps payloads when possible. 2019-11-14 12:49:06 +00:00
boolfield.h
boolfield_test.cc
bootstrap.cc [vm/bytecode] Explicitly mark _Closure._hash as nullable. 2019-09-04 00:08:58 +00:00
bootstrap.h
bootstrap_natives.cc [vm] Use a wrapper for bootstrap natives too. 2019-11-18 19:54:53 +00:00
bootstrap_natives.h [vm, timeline] Following switch from Duration events to Begin-End event pairs, avoid separate native call transitions to query the monotonic and thread clocks. 2020-01-02 23:13:06 +00:00
bss_relocs.cc Take 3 for '[vm/ffi] Implement FFI callbacks on AOT for ELF and Asm snapshots (excl. blobs).' 2019-09-18 14:56:27 +00:00
bss_relocs.h Take 3 for '[vm/ffi] Implement FFI callbacks on AOT for ELF and Asm snapshots (excl. blobs).' 2019-09-18 14:56:27 +00:00
BUILD.gn [VM/runtime] - Remove DART_NO_SNAPSHOT 2020-01-08 18:56:21 +00:00
catch_entry_moves_test.cc [vm] Fix errors compiling with GCC. 2019-04-24 23:12:45 +00:00
class_finalizer.cc [VM/nnbd] Simplify NNBDMode enum class. 2020-01-08 19:35:00 +00:00
class_finalizer.h [vm/bytecode] Represent classes, libraries, scripts and recursive types in bytecode 2019-06-20 18:27:21 +00:00
class_finalizer_test.cc [vm] Replace cycle_free and type_finalized bits with class loading state 2019-06-05 01:05:51 +00:00
class_id.h [VM/nnbd] Introduce type Never in VM and bytecode. 2019-11-01 00:43:59 +00:00
class_table.cc [vm] Initialize the handle vtable table during VM initialization instead of during class registration in each isolate's initialization. 2019-12-11 18:54:08 +00:00
class_table.h [vm/gardening] Clean up no longer used ClassAndSize class. 2019-11-21 19:37:26 +00:00
clustered_snapshot.cc [vm/fieldtable] Move current field values out of Field object into separate table. 2020-01-06 18:58:11 +00:00
clustered_snapshot.h [vm/fieldtable] Move current field values out of Field object into separate table. 2020-01-06 18:58:11 +00:00
code_comments.cc [SDK] Adds --support-disassembler in PRODUCT. 2019-11-21 12:28:45 +00:00
code_comments.h [SDK] Adds --support-disassembler in PRODUCT. 2019-11-21 12:28:45 +00:00
code_descriptors.cc [SDK] Fixes missing stack trace line numbers. 2019-12-18 10:34:41 +00:00
code_descriptors.h [vm/async] Encode the yield index -> token position in PcDescriptors. 2019-11-18 11:50:13 +00:00
code_descriptors_test.cc [vm/async] Encode the yield index -> token position in PcDescriptors. 2019-11-18 11:50:13 +00:00
code_entry_kind.h
code_observers.cc [VM] Copies Dart_CodeObserver in Init to prevent use-after-free. 2019-08-05 10:46:29 +00:00
code_observers.h [SDK] Adds --support-disassembler in PRODUCT. 2019-11-21 12:28:45 +00:00
code_patcher.cc [vm] DBC is obsolete. Remove dead code. 2019-10-27 18:18:29 +00:00
code_patcher.h [vm] DBC is obsolete. Remove dead code. 2019-10-27 18:18:29 +00:00
code_patcher_arm.cc [vm, compiler] Specialize unoptimized monomorphic and megamorphic calls. 2019-06-12 21:56:53 +00:00
code_patcher_arm64.cc [vm, compiler] Specialize unoptimized monomorphic and megamorphic calls. 2019-06-12 21:56:53 +00:00
code_patcher_arm64_test.cc [vm] Remove misleading usings. 2019-07-10 22:20:10 +00:00
code_patcher_arm_test.cc
code_patcher_ia32.cc [vm/concurrency] Add IsolateGroup::RunWithStoppedMutators and use it in various places 2019-09-18 12:24:31 +00:00
code_patcher_ia32_test.cc
code_patcher_kbc.cc
code_patcher_x64.cc [vm, compiler] Specialize unoptimized monomorphic and megamorphic calls. 2019-06-12 21:56:53 +00:00
code_patcher_x64_test.cc
compilation_trace.cc [vm] Handle trivial initializers for late fields 2019-11-06 17:46:32 +00:00
compilation_trace.h
compiler_test.cc [vm] Make kernel buffers live exactly as long as their derived views. 2019-12-03 22:00:48 +00:00
constants.h [vm] DBC is obsolete. Remove dead code. 2019-10-27 18:18:29 +00:00
constants_arm.cc [vm/simarm] Fix VRECPS/VRSQRTSQS instruction implementation. 2019-10-15 20:27:12 +00:00
constants_arm.h [vm/compiler] Remove PushArguments from AllocateObjectInstr 2020-01-09 01:37:27 +00:00
constants_arm64.cc [vm/compiler] ARM64: Block R22 to hold NullObject(). 2019-11-21 14:11:55 +00:00
constants_arm64.h [vm/compiler] Remove PushArguments from AllocateObjectInstr 2020-01-09 01:37:27 +00:00
constants_ia32.cc [vm] Fix errors compiling with GCC. 2019-04-24 23:12:45 +00:00
constants_ia32.h [vm/compiler] Remove PushArguments from AllocateObjectInstr 2020-01-09 01:37:27 +00:00
constants_kbc.cc [vm/bytecode] Cleanup support for bytecode formats older than v7 2019-06-21 21:38:09 +00:00
constants_kbc.h [VM/nnbd] Pass nnbd mode from compiler via generated code or bytecode to runtime functions performing type checks or type reification. 2019-12-20 03:26:29 +00:00
constants_x64.cc [vm] Fix errors compiling with GCC. 2019-04-24 23:12:45 +00:00
constants_x64.h [vm/compiler] Remove PushArguments from AllocateObjectInstr 2020-01-09 01:37:27 +00:00
constants_x86.h
cpu.h [vm] DBC is obsolete. Remove dead code. 2019-10-27 18:18:29 +00:00
cpu_arm.cc [vm] Enable Dart VM to run in QEMU user-mode emulation for ARM. 2019-11-18 16:58:53 +00:00
cpu_arm.h [vm] Remove deprecated (and untested) ARMv5 support from the VM 2019-10-23 14:44:33 +00:00
cpu_arm64.cc [vm/ios] Don't use __clear_cache on iOS, it's not always available. 2019-08-01 14:14:39 +00:00
cpu_arm64.h [gardening] Migrate most files to be implicit-bool-conversion free 2019-09-05 21:41:42 +00:00
cpu_ia32.cc [vm/assembler] Added cpufeatures, added LZCNT (IA32/X64) 2019-09-18 19:47:29 +00:00
cpu_ia32.h [vm/assembler] Added cpufeatures, added LZCNT (IA32/X64) 2019-09-18 19:47:29 +00:00
cpu_test.cc [vm] DBC is obsolete. Remove dead code. 2019-10-27 18:18:29 +00:00
cpu_x64.cc [vm/assembler] Added cpufeatures, added LZCNT (IA32/X64) 2019-09-18 19:47:29 +00:00
cpu_x64.h [vm/assembler] Added cpufeatures, added LZCNT (IA32/X64) 2019-09-18 19:47:29 +00:00
cpuid.cc [vm/assembler] Added cpufeatures, added LZCNT (IA32/X64) 2019-09-18 19:47:29 +00:00
cpuid.h [vm/assembler] Added cpufeatures, added LZCNT (IA32/X64) 2019-09-18 19:47:29 +00:00
cpuinfo.h
cpuinfo_android.cc
cpuinfo_fuchsia.cc
cpuinfo_linux.cc
cpuinfo_macos.cc
cpuinfo_test.cc
cpuinfo_win.cc
custom_isolate_test.cc [gardening] Migrate most files to be implicit-bool-conversion free 2019-09-05 21:41:42 +00:00
dart.cc [VM/runtime] - Remove DART_NO_SNAPSHOT 2020-01-08 18:56:21 +00:00
dart.h Cache value of "non-nullable" flag so it can be used in the VM code without having to search through the array of experimental flags array. 2019-11-13 01:40:36 +00:00
dart_api_impl.cc [VM/nnbd] Simplify NNBDMode enum class. 2020-01-08 19:35:00 +00:00
dart_api_impl.h [timeline] support vm events available to systrace 2019-12-13 00:41:46 +00:00
dart_api_impl_test.cc [vm, gc] Change CollectAllGarbage to ensure there is no floating garbage caused by incremental marking. 2019-11-14 02:08:35 +00:00
dart_api_message.cc [vm] Don't copy when reading typed data in messages sent to native ports. 2019-08-30 17:49:28 +00:00
dart_api_message.h [vm] Use std::unique_ptr with Message 2019-05-06 21:01:39 +00:00
dart_api_state.cc [vm] Fix some TSAN failures. Migrate remaining uses of AtomicOperations to std::atomic. 2019-10-21 16:26:39 +00:00
dart_api_state.h [vm] Fix some TSAN failures. Migrate remaining uses of AtomicOperations to std::atomic. 2019-10-21 16:26:39 +00:00
dart_entry.cc [vm] Allocate temporaries used by Dart_Invoke etc in new-space. 2019-11-20 19:57:11 +00:00
dart_entry.h [vm] Allocate temporaries used by Dart_Invoke etc in new-space. 2019-11-20 19:57:11 +00:00
datastream.cc
datastream.h [vm] Don't copy when reading typed data in messages sent to native ports. 2019-08-30 17:49:28 +00:00
debugger.cc Revert "[SDK] Switch to is_sync to identify sync/async running." 2019-12-20 19:06:54 +00:00
debugger.h [vm] Make kernel buffers live exactly as long as their derived views. 2019-12-03 22:00:48 +00:00
debugger_api_impl_test.cc [vm] Make kernel buffers live exactly as long as their derived views. 2019-12-03 22:00:48 +00:00
debugger_api_impl_test.h
debugger_arm.cc [vm, compiler] Specialize unoptimized monomorphic and megamorphic calls. 2019-06-12 21:56:53 +00:00
debugger_arm64.cc [vm, compiler] Specialize unoptimized monomorphic and megamorphic calls. 2019-06-12 21:56:53 +00:00
debugger_ia32.cc [vm/concurrency] Add IsolateGroup::RunWithStoppedMutators and use it in various places 2019-09-18 12:24:31 +00:00
debugger_kbc.cc [vm/debugger] Implement debug breaks in interpreter without bytecode patching. 2019-06-05 17:39:04 +00:00
debugger_x64.cc [vm, compiler] Specialize unoptimized monomorphic and megamorphic calls. 2019-06-12 21:56:53 +00:00
deferred_objects.cc [vm, compiler] Specialize unoptimized monomorphic and megamorphic calls. 2019-06-12 21:56:53 +00:00
deferred_objects.h [vm] DBC is obsolete. Remove dead code. 2019-10-27 18:18:29 +00:00
deopt_instructions.cc [vm] DBC is obsolete. Remove dead code. 2019-10-27 18:18:29 +00:00
deopt_instructions.h [vm] DBC is obsolete. Remove dead code. 2019-10-27 18:18:29 +00:00
double_conversion.cc [vm/compiler] Tweaks and additions to IL serializer/S-expressions. 2019-07-31 11:52:44 +00:00
double_conversion.h [vm/compiler] Tweaks and additions to IL serializer/S-expressions. 2019-07-31 11:52:44 +00:00
double_internals.h
dwarf.cc [gardening] Only check these asserts if we're producing ELF. 2019-12-20 13:38:30 +00:00
dwarf.h [vm/compiler] Generate debugging info during single snapshot pass. 2019-12-20 10:14:10 +00:00
elf.cc [vm/compiler] Reland "Add --save-debugging-info flag to gen_snapshot." 2019-12-18 14:14:41 +00:00
elf.h [vm/compiler] Reland "Add --save-debugging-info flag to gen_snapshot." 2019-12-18 14:14:41 +00:00
exceptions.cc [VM/nnbd] Implement weak and strong mode type checking in runtime. 2020-01-06 22:32:19 +00:00
exceptions.h [vm, compiler] Consistently produce OutOfMemoryErrors for large variable-length object allocations. 2019-09-30 20:19:03 +00:00
exceptions_test.cc [gardening] Migrate most files to be implicit-bool-conversion free 2019-09-05 21:41:42 +00:00
ffi_callback_trampolines.cc [vm] DBC is obsolete. Remove dead code. 2019-10-27 18:18:29 +00:00
ffi_callback_trampolines.h [vm] DBC is obsolete. Remove dead code. 2019-10-27 18:18:29 +00:00
field_table.cc [vm/fieldtable] Move current field values out of Field object into separate table. 2020-01-06 18:58:11 +00:00
field_table.h [vm/fieldtable] Move current field values out of Field object into separate table. 2020-01-06 18:58:11 +00:00
finalizable_data.h [vm] Don't copy when reading typed data in messages sent to native ports. 2019-08-30 17:49:28 +00:00
fixed_cache.h
fixed_cache_test.cc
flag_list.h [vm] Read causal-async-stacks/lazy-async-stacks from snapshot (instead of requiring AOT runtime to pass same flags as in compiler) 2020-01-06 12:15:59 +00:00
flags.cc [SDK] Adds disasm. flags for FORCE_INCLUDE_DISASSEMBLER. 2019-11-18 10:11:38 +00:00
flags.h [SDK] Adds disasm. flags for FORCE_INCLUDE_DISASSEMBLER. 2019-11-18 10:11:38 +00:00
flags_test.cc
frame_layout.h [gardening] Migrate most files to be implicit-bool-conversion free 2019-09-05 21:41:42 +00:00
gdb_helpers.cc [vm] Try to symbolize Dart frames on crash or assertion failure when there is an exit frame. 2019-11-11 23:56:00 +00:00
globals.h [vm, gc] Increase HeapPage size to 512k; increase max heap size to 32GB. 2019-11-07 22:45:47 +00:00
growable_array.h
growable_array_test.cc Implement a basic WASM API using wasmer. 2019-09-13 18:25:16 +00:00
guard_field_test.cc
handle_visitor.h
handles.cc
handles.h
handles_impl.h
handles_test.cc
hash.h [gardening] Migrate most files to be implicit-bool-conversion free 2019-09-05 21:41:42 +00:00
hash_map.h [vm] Fix DirectChainedHashMap iterator 2019-10-21 18:30:54 +00:00
hash_map_test.cc [vm] Fix DirectChainedHashMap iterator 2019-10-21 18:30:54 +00:00
hash_table.h
hash_table_test.cc
image_snapshot.cc [vm/compiler] Generate debugging info during single snapshot pass. 2019-12-20 10:14:10 +00:00
image_snapshot.h [vm/compiler] Generate debugging info during single snapshot pass. 2019-12-20 10:14:10 +00:00
instructions.h [vm] DBC is obsolete. Remove dead code. 2019-10-27 18:18:29 +00:00
instructions_arm.cc [vm] Remove deprecated (and untested) ARMv5 support from the VM 2019-10-23 14:44:33 +00:00
instructions_arm.h [vm] Remove misleading usings. 2019-07-10 22:20:10 +00:00
instructions_arm64.cc [vm, compiler] Specialize unoptimized monomorphic and megamorphic calls. 2019-06-12 21:56:53 +00:00
instructions_arm64.h [vm] Remove misleading usings. 2019-07-10 22:20:10 +00:00
instructions_arm64_test.cc
instructions_arm_test.cc
instructions_ia32.cc
instructions_ia32.h
instructions_ia32_test.cc [vm] Remove misleading usings. 2019-07-10 22:20:10 +00:00
instructions_kbc.cc [vm/bytecode] Support compact bytecode instructions in VM (part 2/3) 2019-05-08 17:33:15 +00:00
instructions_kbc.h
instructions_x64.cc Reland "[vm/compiler] Fix TypeTestingStub -> SubtypeTestCache fallback code if dst_type = TypeParameter" 2019-12-13 15:03:18 +00:00
instructions_x64.h
instructions_x64_test.cc
interpreter.cc [VM/nnbd] Simplify NNBDMode enum class. 2020-01-08 19:35:00 +00:00
interpreter.h [vm, reload] Guard against field loads that no longer conform to the field's static type. 2019-11-15 22:55:26 +00:00
intrusive_dlist.h
intrusive_dlist_test.cc
isolate.cc [vm/fieldtable] Move current field values out of Field object into separate table. 2020-01-06 18:58:11 +00:00
isolate.h [vm/fieldtable] Move current field values out of Field object into separate table. 2020-01-06 18:58:11 +00:00
isolate_reload.cc [VM] Ignore dart scheme scripts in isolate reload 2020-01-09 07:55:27 +00:00
isolate_reload.h [vm] Make kernel buffers live exactly as long as their derived views. 2019-12-03 22:00:48 +00:00
isolate_reload_test.cc [vm/fieldtable] Move current field values out of Field object into separate table. 2020-01-06 18:58:11 +00:00
isolate_test.cc [vm, gc] Change CollectAllGarbage to ensure there is no floating garbage caused by incremental marking. 2019-11-14 02:08:35 +00:00
json_stream.cc Reland "[vm/service] Introduce IsolateGroup entity to vm service api."" 2019-10-17 03:45:41 +00:00
json_stream.h Reland "[vm/service] Introduce IsolateGroup entity to vm service api."" 2019-10-17 03:45:41 +00:00
json_test.cc [ VM / Service ] Updated JSONWriter::PrintValue(double) to use double_conversion instead of Printf. 2019-05-03 18:07:27 +00:00
json_writer.cc [ VM / Service ] Updated JSONWriter::PrintValue(double) to use double_conversion instead of Printf. 2019-05-03 18:07:27 +00:00
json_writer.h
kernel.cc Reland "[vm] Remove obsolete kernel constant expression evaluator." 2019-11-12 12:32:08 +00:00
kernel.h [vm] Make kernel buffers live exactly as long as their derived views. 2019-12-03 22:00:48 +00:00
kernel_binary.cc [vm] Make kernel buffers live exactly as long as their derived views. 2019-12-03 22:00:48 +00:00
kernel_binary.h Revert "[vm/cfe] Elaborate for-in statements during async transform" 2019-12-03 12:29:35 +00:00
kernel_isolate.cc [VM/runtime] Conditionally include kernel/service isolate code 2019-12-27 19:46:15 +00:00
kernel_isolate.h [VM/runtime] Conditionally include kernel/service isolate code 2019-12-27 19:46:15 +00:00
kernel_loader.cc [kernel][vm] Add uris only from mixins to libraries sourceReferences 2019-12-19 06:59:28 +00:00
kernel_loader.h [vm/aot/tfa] Whole-program constant propagation 2019-12-04 19:19:29 +00:00
lockers.cc [vm/concurrency] Add IsolateGroup::RunWithStoppedMutators and use it in various places 2019-09-18 12:24:31 +00:00
lockers.h [vm/concurrency] Add IsolateGroup::RunWithStoppedMutators and use it in various places 2019-09-18 12:24:31 +00:00
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_tcmalloc.cc
malloc_hooks_test.cc [vm] DBC is obsolete. Remove dead code. 2019-10-27 18:18:29 +00:00
malloc_hooks_unsupported.cc
malloc_hooks_x64.cc
megamorphic_cache_table.cc [vm, compiler] Consistently use CallTargets instead of ICData or MegamorphicCache. 2019-09-04 18:49:40 +00:00
megamorphic_cache_table.h [vm, compiler] Consistently use CallTargets instead of ICData or MegamorphicCache. 2019-09-04 18:49:40 +00:00
memory_region.cc
memory_region.h
memory_region_test.cc
message.cc [vm/ffi] FFI callbacks on ARM32. 2019-06-03 14:36:04 +00:00
message.h [vm/ffi] FFI callbacks on ARM32. 2019-06-03 14:36:04 +00:00
message_handler.cc [vm/concurrency] Move idle timeout detection from message handler to [Isolate] 2019-11-05 20:25:43 +00:00
message_handler.h [vm/concurrency] Move idle timeout detection from message handler to [Isolate] 2019-11-05 20:25:43 +00:00
message_handler_test.cc [vm] Use std::unique_ptr with Message 2019-05-06 21:01:39 +00:00
message_test.cc [vm] Use std::unique_ptr with Message 2019-05-06 21:01:39 +00:00
metrics.cc
metrics.h [vm/metrics] Ensure the metrics exposed by VM also include on-the-fly metrics 2019-10-28 19:58:53 +00:00
metrics_test.cc [vm/metrics] Ensure the metrics exposed by VM also include on-the-fly metrics 2019-10-28 19:58:53 +00:00
mixin_test.cc
native_api_impl.cc [VM/runtime] Address code review comments. 2019-12-27 21:27:35 +00:00
native_arguments.h [vm] Use a wrapper for bootstrap natives too. 2019-11-18 19:54:53 +00:00
native_entry.cc [vm] Use a wrapper for bootstrap natives too. 2019-11-18 19:54:53 +00:00
native_entry.h [vm] Use a wrapper for bootstrap natives too. 2019-11-18 19:54:53 +00:00
native_entry_test.cc
native_entry_test.h
native_function.h
native_message_handler.cc [vm] Use std::unique_ptr with Message 2019-05-06 21:01:39 +00:00
native_message_handler.h [vm] Use std::unique_ptr with Message 2019-05-06 21:01:39 +00:00
native_symbol.h [vm, fuchsia] Consume specialized symbols for the Dart VM's profiler. 2019-04-24 19:53:35 +00:00
native_symbol_android.cc [vm, fuchsia] Consume specialized symbols for the Dart VM's profiler. 2019-04-24 19:53:35 +00:00
native_symbol_fuchsia.cc [vm, profiler] Fix unsigned underflow with an empty set of profiler symbols. 2019-06-05 21:54:11 +00:00
native_symbol_linux.cc [vm, fuchsia] Consume specialized symbols for the Dart VM's profiler. 2019-04-24 19:53:35 +00:00
native_symbol_macos.cc [vm, fuchsia] Consume specialized symbols for the Dart VM's profiler. 2019-04-24 19:53:35 +00:00
native_symbol_win.cc [vm, fuchsia] Consume specialized symbols for the Dart VM's profiler. 2019-04-24 19:53:35 +00:00
object.cc [VM/nnbd] Simplify NNBDMode enum class. 2020-01-08 19:35:00 +00:00
object.h [VM/nnbd] Simplify NNBDMode enum class. 2020-01-08 19:35:00 +00:00
object_arm64_test.cc [vm] Remove misleading usings. 2019-07-10 22:20:10 +00:00
object_arm_test.cc [vm] Remove misleading usings. 2019-07-10 22:20:10 +00:00
object_graph.cc [vm, service] Speed up generation and transmission of heap snapshots. 2020-01-08 03:22:59 +00:00
object_graph.h [vm, service] Speed up generation and transmission of heap snapshots. 2020-01-08 03:22:59 +00:00
object_graph_test.cc [vm, service] Add requestHeapSnapshot. 2019-08-19 19:31:42 +00:00
object_ia32_test.cc [vm] Remove misleading usings. 2019-07-10 22:20:10 +00:00
object_id_ring.cc
object_id_ring.h
object_id_ring_test.cc [vm, gc] Change CollectAllGarbage to ensure there is no floating garbage caused by incremental marking. 2019-11-14 02:08:35 +00:00
object_reload.cc [VM/nnbd] Simplify NNBDMode enum class. 2020-01-08 19:35:00 +00:00
object_service.cc [VM/nnbd] Simplify NNBDMode enum class. 2020-01-08 19:35:00 +00:00
object_set.h
object_store.cc [vm] Remove dead --load_deferred_eagerly and dependent code tracking for library prefixes. 2019-09-06 23:37:33 +00:00
object_store.h [vm/precomp] Inline SIMD operations 2019-12-19 15:09:32 +00:00
object_store_test.cc
object_test.cc [vm] Remove the unchecked entry point offset field from RawInstructions. 2019-12-11 10:00:29 +00:00
object_x64_test.cc [vm] Remove misleading usings. 2019-07-10 22:20:10 +00:00
os.h Reland "[vm, compiler] Reduce alignment of Instructions and remove some debugging trap instructions." 2019-10-17 21:45:38 +00:00
os_android.cc [vm] DBC is obsolete. Remove dead code. 2019-10-27 18:18:29 +00:00
os_fuchsia.cc [vm] Use fuchsia.deprecatedtimezone 2019-10-31 21:34:49 +00:00
os_linux.cc [vm] DBC is obsolete. Remove dead code. 2019-10-27 18:18:29 +00:00
os_macos.cc [vm] DBC is obsolete. Remove dead code. 2019-10-27 18:18:29 +00:00
os_test.cc Reland "[vm, compiler] Reduce alignment of Instructions and remove some debugging trap instructions." 2019-10-17 21:45:38 +00:00
os_thread.cc [vm, arm64] Adjust CSP during the invocation stub instead of each function prologue. 2019-10-25 19:21:56 +00:00
os_thread.h [vm, arm64] Adjust CSP during the invocation stub instead of each function prologue. 2019-10-25 19:21:56 +00:00
os_thread_android.cc [ VM / dart:io ] Fix issue where SIGPROF is disabled in processes spawned via Process on POSIX 2019-12-06 19:46:31 +00:00
os_thread_android.h
os_thread_fuchsia.cc [vm, fuchsia, arm64] Restore the shadow call stack on exceptions. 2019-10-02 05:33:29 +00:00
os_thread_fuchsia.h
os_thread_linux.cc [ VM / dart:io ] Fix issue where SIGPROF is disabled in processes spawned via Process on POSIX 2019-12-06 19:46:31 +00:00
os_thread_linux.h
os_thread_macos.cc [vm] Partially disable 5393ce7d35. 2019-05-23 17:42:37 +00:00
os_thread_macos.h
os_thread_win.cc
os_thread_win.h
os_win.cc [vm] DBC is obsolete. Remove dead code. 2019-10-27 18:18:29 +00:00
parser.cc [vm/aot/tfa] Whole-program constant propagation 2019-12-04 19:19:29 +00:00
parser.h [vm] Remove dead --load_deferred_eagerly and dependent code tracking for library prefixes. 2019-09-06 23:37:33 +00:00
pointer_tagging.h Reland "[vm, compiler] Reduce alignment of Instructions and remove some debugging trap instructions." 2019-10-17 21:45:38 +00:00
port.cc [vm] Prevent reinterpreting object null as a send port capability. 2019-06-26 00:17:04 +00:00
port.h [vm] Use std::unique_ptr with Message 2019-05-06 21:01:39 +00:00
port_test.cc [vm] Use std::unique_ptr with Message 2019-05-06 21:01:39 +00:00
proccpuinfo.cc [gardening] Migrate most files to be implicit-bool-conversion free 2019-09-05 21:41:42 +00:00
proccpuinfo.h
profiler.cc [vm] Try to symbolize Dart frames on crash or assertion failure when there is an exit frame. 2019-11-11 23:56:00 +00:00
profiler.h [observatory] Display process-wide memory usage with heap snapshots. 2019-12-07 00:28:15 +00:00
profiler_service.cc [vm] Reduce frame size for the functions with the largest frame sizes. 2019-12-11 18:15:27 +00:00
profiler_service.h [vm] Reduce frame size for the functions with the largest frame sizes. 2019-12-11 18:15:27 +00:00
profiler_test.cc [vm] Cleanup script tags 2019-11-01 19:08:42 +00:00
program_visitor.cc [kernel][vm] Add uris only from mixins to libraries sourceReferences 2019-12-19 06:59:28 +00:00
program_visitor.h [vm/compiler] Canonicalize CompressedStackMaps payloads when possible. 2019-11-14 12:49:06 +00:00
random.cc
random.h
raw_object.cc [vm] Progress toward running without TSAN warnings. 2019-12-16 18:32:23 +00:00
raw_object.h [vm/fieldtable] Move current field values out of Field object into separate table. 2020-01-06 18:58:11 +00:00
raw_object_fields.cc [vm/fieldtable] Move current field values out of Field object into separate table. 2020-01-06 18:58:11 +00:00
raw_object_fields.h [vm, service] Add requestHeapSnapshot. 2019-08-19 19:31:42 +00:00
raw_object_snapshot.cc [VM/nnbd] Use a single byte in snapshot to write flags and nullability of types. 2019-11-06 22:44:33 +00:00
regexp.cc [gardening] Migrate most files to be implicit-bool-conversion free 2019-09-05 21:41:42 +00:00
regexp.h Reland "[vm] Finish adding support for ECMAScript 2018 features." 2019-04-29 09:11:48 +00:00
regexp_assembler.cc Reland "[vm] Finish adding support for ECMAScript 2018 features." 2019-04-29 09:11:48 +00:00
regexp_assembler.h Reland "[vm] Finish adding support for ECMAScript 2018 features." 2019-04-29 09:11:48 +00:00
regexp_assembler_bytecode.cc [timeline] support vm events available to systrace 2019-12-13 00:41:46 +00:00
regexp_assembler_bytecode.h Reland "[vm] Finish adding support for ECMAScript 2018 features." 2019-04-29 09:11:48 +00:00
regexp_assembler_bytecode_inl.h
regexp_assembler_ir.cc [vm/compiler] Remove PushArgument instructions from IL up to AllocateRegisters 2020-01-09 01:37:27 +00:00
regexp_assembler_ir.h [vm/compiler] Remove PushArgument instructions from IL up to AllocateRegisters 2020-01-09 01:37:27 +00:00
regexp_ast.cc
regexp_ast.h [gardening] Migrate most files to be implicit-bool-conversion free 2019-09-05 21:41:42 +00:00
regexp_bytecodes.h Reland "[vm] Finish adding support for ECMAScript 2018 features." 2019-04-29 09:11:48 +00:00
regexp_interpreter.cc [vm] Bypass malloc for large Zone allocations to avoid jemalloc leaks. 2019-04-30 16:17:18 +00:00
regexp_interpreter.h [vm] Bypass malloc for large Zone allocations to avoid jemalloc leaks. 2019-04-30 16:17:18 +00:00
regexp_parser.cc [vm] Fix gcc build. 2019-10-17 16:51:32 +00:00
regexp_parser.h Reland "[vm] Finish adding support for ECMAScript 2018 features." 2019-04-29 09:11:48 +00:00
regexp_test.cc [vm] Greatly reduce handle allocation during reload. 2019-08-20 00:49:52 +00:00
report.cc
report.h
resolver.cc [VM/nnbd] Simplify NNBDMode enum class. 2020-01-08 19:35:00 +00:00
resolver.h
reusable_handles.h
reverse_pc_lookup_cache.cc
reverse_pc_lookup_cache.h
ring_buffer.h
ring_buffer_test.cc
runtime_entry.cc [VM/nnbd] Simplify NNBDMode enum class. 2020-01-08 19:35:00 +00:00
runtime_entry.h [vm] Fix spurious MSAN failures when accessing arguments to runtime calls. 2019-10-30 21:55:25 +00:00
runtime_entry_arm.cc [vm] Remove misleading usings. 2019-07-10 22:20:10 +00:00
runtime_entry_arm64.cc [vm] Remove misleading usings. 2019-07-10 22:20:10 +00:00
runtime_entry_ia32.cc [vm] Remove misleading usings. 2019-07-10 22:20:10 +00:00
runtime_entry_list.h [VM/nnbd] Implement weak and strong mode type checking in runtime. 2020-01-06 22:32:19 +00:00
runtime_entry_x64.cc [vm] Remove misleading usings. 2019-07-10 22:20:10 +00:00
scope_timer.h [gardening] Migrate most files to be implicit-bool-conversion free 2019-09-05 21:41:42 +00:00
scopes.cc [vm] Fix late local variables in AST mode 2019-12-06 19:54:42 +00:00
scopes.h [vm] Fix late local variables in AST mode 2019-12-06 19:54:42 +00:00
scopes_test.cc
service.cc [vm] Make kernel buffers live exactly as long as their derived views. 2019-12-03 22:00:48 +00:00
service.h [vm, service] Compute allocation stats on demand, instead of during allocation and GC. 2019-11-16 00:22:56 +00:00
service_event.cc [vm] Add --show-invisible-isolates. 2019-09-25 21:41:55 +00:00
service_event.h [ VM / Service ] Added VMFlagUpdated event to VM stream 2019-07-23 15:24:28 +00:00
service_isolate.cc [VM/runtime] Conditionally include kernel/service isolate code 2019-12-27 19:46:15 +00:00
service_isolate.h [VM/runtime] Address code review comments. 2019-12-27 21:27:35 +00:00
service_test.cc [ VM / Service ] Add getCpuProfileSamples RPC which returns a minimally processed sample buffer. 2019-09-07 01:04:08 +00:00
signal_handler.h
signal_handler_android.cc [vm] initialize sigaction for msan 2019-07-16 19:46:56 +00:00
signal_handler_fuchsia.cc
signal_handler_linux.cc [vm] initialize sigaction for msan 2019-07-16 19:46:56 +00:00
signal_handler_macos.cc [vm] initialize sigaction for msan 2019-07-16 19:46:56 +00:00
signal_handler_win.cc
simulator.h [vm] DBC is obsolete. Remove dead code. 2019-10-27 18:18:29 +00:00
simulator_arm.cc [vm] Remove deprecated (and untested) ARMv5 support from the VM 2019-10-23 14:44:33 +00:00
simulator_arm.h [vm/compiler] general rbit utilities 2019-10-02 20:37:10 +00:00
simulator_arm64.cc [vm] Fix some TSAN failures. Migrate remaining uses of AtomicOperations to std::atomic. 2019-10-21 16:26:39 +00:00
simulator_arm64.h [vm] Allow unaligned accesses by default in SIMARM64 2019-10-15 08:50:52 +00:00
snapshot.cc [VM/nnbd] Introduce type Never in VM and bytecode. 2019-11-01 00:43:59 +00:00
snapshot.h Reland "[vm, compiler] Reduce alignment of Instructions and remove some debugging trap instructions." 2019-10-17 21:45:38 +00:00
snapshot_ids.h [VM/nnbd] Introduce type Never in VM and bytecode. 2019-11-01 00:43:59 +00:00
snapshot_test.cc [vm] Fix one MSAN failure; add UBSAN configuration. 2019-10-09 23:38:30 +00:00
source_report.cc [vm] DBC is obsolete. Remove dead code. 2019-10-27 18:18:29 +00:00
source_report.h
source_report_test.cc [cfe] Move relativize code from dart2js to cfe 2019-08-01 21:07:50 +00:00
splay-tree.h Reland "[vm] Finish adding support for ECMAScript 2018 features." 2019-04-29 09:11:48 +00:00
stack_frame.cc [vm] Remove the unchecked entry point offset field from RawInstructions. 2019-12-11 10:00:29 +00:00
stack_frame.h Revert "[SDK] Switch to is_sync to identify sync/async running." 2019-12-20 19:06:54 +00:00
stack_frame_arm.h [gardening] Migrate most files to be implicit-bool-conversion free 2019-09-05 21:41:42 +00:00
stack_frame_arm64.h [vm, fuchsia, arm64] Restore the shadow call stack on exceptions. 2019-10-02 05:33:29 +00:00
stack_frame_ia32.h [gardening] Migrate most files to be implicit-bool-conversion free 2019-09-05 21:41:42 +00:00
stack_frame_kbc.h [gardening] Migrate most files to be implicit-bool-conversion free 2019-09-05 21:41:42 +00:00
stack_frame_test.cc [gardening] Migrate most files to be implicit-bool-conversion free 2019-09-05 21:41:42 +00:00
stack_frame_x64.h [gardening] Migrate most files to be implicit-bool-conversion free 2019-09-05 21:41:42 +00:00
stack_trace.cc Revert "[SDK] Switch to is_sync to identify sync/async running." 2019-12-20 19:06:54 +00:00
stack_trace.h Revert "[SDK] Switch to is_sync to identify sync/async running." 2019-12-20 19:06:54 +00:00
static_type_exactness_state.h [gardening] Migrate most files to be implicit-bool-conversion free 2019-09-05 21:41:42 +00:00
stub_code.cc [vm] Don't unroll initialization code based on macro lists. 2019-11-14 19:11:38 +00:00
stub_code.h [VM/nnbd] Pass nnbd mode from compiler via generated code or bytecode to runtime functions performing type checks or type reification. 2019-12-20 03:26:29 +00:00
stub_code_arm64_test.cc [vm] Remove misleading usings. 2019-07-10 22:20:10 +00:00
stub_code_arm_test.cc [vm] Remove misleading usings. 2019-07-10 22:20:10 +00:00
stub_code_ia32_test.cc [vm] Remove misleading usings. 2019-07-10 22:20:10 +00:00
stub_code_list.h [vm/precomp] Inline SIMD operations 2019-12-19 15:09:32 +00:00
stub_code_x64_test.cc [vm] Remove misleading usings. 2019-07-10 22:20:10 +00:00
symbols.cc [VM/precompiler] Relax assert when compacting symbols (fixes #39298). 2019-11-15 00:15:32 +00:00
symbols.h [vm/precomp] Inline SIMD operations 2019-12-19 15:09:32 +00:00
tags.cc
tags.h
thread.cc [VM/runtime] Conditionally include kernel/service isolate code 2019-12-27 19:46:15 +00:00
thread.h [vm/fieldtable] Move current field values out of Field object into separate table. 2020-01-06 18:58:11 +00:00
thread_barrier.h
thread_barrier_test.cc [vm] Use std::unique_ptr for ThreadPool::Task 2019-06-18 17:51:10 +00:00
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 Always truncate thread names on linux to 15 chars (16 with the null terminator). 2019-12-04 14:26:48 +00:00
thread_pool.h [vm] Use std::unique_ptr for ThreadPool::Task 2019-06-18 17:51:10 +00:00
thread_pool_test.cc [vm] Use std::unique_ptr for ThreadPool::Task 2019-06-18 17:51:10 +00:00
thread_registry.cc [vm/concurrency] Make all isolates within an isolate group coordinate on GCs 2019-07-23 10:58:11 +00:00
thread_registry.h [vm/concurrency] Make all isolates within an isolate group coordinate on GCs 2019-07-23 10:58:11 +00:00
thread_stack_resource.cc
thread_stack_resource.h
thread_state.cc
thread_state.h
thread_test.cc [vm] Fix some TSAN failures. Migrate remaining uses of AtomicOperations to std::atomic. 2019-10-21 16:26:39 +00:00
timeline.cc [vm, timeline] Following switch from Duration events to Begin-End event pairs, avoid separate native call transitions to query the monotonic and thread clocks. 2020-01-02 23:13:06 +00:00
timeline.h [vm, timeline] Following switch from Duration events to Begin-End event pairs, avoid separate native call transitions to query the monotonic and thread clocks. 2020-01-02 23:13:06 +00:00
timeline_analysis.cc
timeline_analysis.h
timeline_android.cc [timeline] Add support for timeline asynchronous events in android platform trace 2019-12-11 19:36:18 +00:00
timeline_fuchsia.cc [vm] Enable timeline trace events with Fuchsia SDK 2019-10-18 01:33:03 +00:00
timeline_linux.cc
timeline_test.cc [observatory] Display process-wide memory usage with heap snapshots. 2019-12-07 00:28:15 +00:00
timer.cc
timer.h [vm] Fix TSAN failures related to object headers and GC task phases. 2019-10-09 21:48:20 +00:00
token.cc
token.h [vm/compiler] Add support for more instructions to deserializer. 2019-09-05 10:36:13 +00:00
token_position.cc
token_position.h
type_table.h [VM/nnbd] Propagate nullability info on types from kernel to VM and bytecode. 2019-10-29 23:39:36 +00:00
type_testing_stubs.cc [VM/nnbd] Simplify NNBDMode enum class. 2020-01-08 19:35:00 +00:00
type_testing_stubs.h [vm] DBC is obsolete. Remove dead code. 2019-10-27 18:18:29 +00:00
type_testing_stubs_arm.cc [vm] Remove misleading usings. 2019-07-10 22:20:10 +00:00
type_testing_stubs_arm64.cc [vm] Remove misleading usings. 2019-07-10 22:20:10 +00:00
type_testing_stubs_x64.cc [vm] Remove misleading usings. 2019-07-10 22:20:10 +00:00
unibrow-inl.h
unibrow.cc
unibrow.h
unicode.cc [build] Remove last platform -> vm and bin -> vm dependencies. Fix some ODR violations. 2019-04-22 20:15:43 +00:00
unicode_data.cc [build] Remove last platform -> vm and bin -> vm dependencies. Fix some ODR violations. 2019-04-22 20:15:43 +00:00
unicode_test.cc [build] Remove last platform -> vm and bin -> vm dependencies. Fix some ODR violations. 2019-04-22 20:15:43 +00:00
unit_test.cc [vm] Remove the unchecked entry point offset field from RawInstructions. 2019-12-11 10:00:29 +00:00
unit_test.h [vm] Reduce frame size for the functions with the largest frame sizes. 2019-12-11 18:15:27 +00:00
uri.cc
uri.h
uri_test.cc
utils_test.cc [vm] Fix a bug in Utils::NBitMask. 2019-10-17 17:19:32 +00:00
v8_snapshot_writer.cc [vm/aot] Minor improvements to make snapshot profiles more useful. 2019-06-17 13:09:50 +00:00
v8_snapshot_writer.h [vm/aot] Minor improvements to make snapshot profiles more useful. 2019-06-17 13:09:50 +00:00
version.h
version_in.cc
virtual_memory.cc
virtual_memory.h [vm] Enable ELF loader to read snapshots from memory without any backing file. 2019-12-10 12:26:05 +00:00
virtual_memory_fuchsia.cc [vm/aot] Add a custom ELF loader in dart_precompiled_runtime. 2019-09-24 15:03:19 +00:00
virtual_memory_posix.cc Reland "[vm, linux] Try to attach names to all VirtualMemory allocations using memfd." 2019-12-18 18:02:41 +00:00
virtual_memory_test.cc Reland "[vm, linux] Try to attach names to all VirtualMemory allocations using memfd." 2019-12-18 18:02:41 +00:00
virtual_memory_win.cc [vm/aot] Add a custom ELF loader in dart_precompiled_runtime. 2019-09-24 15:03:19 +00:00
visitor.h [ VM / Service ] Add getInboundReferences, getRetainingPath RPCs and InboundReferences, InboundReference, RetainingPath, RetainingObject objects. 2019-07-30 23:26:28 +00:00
vm_sources.gni [vm/fieldtable] Move current field values out of Field object into separate table. 2020-01-06 18:58:11 +00:00
zone.cc [vm] Fix gcc build. 2019-10-17 16:51:32 +00:00
zone.h [vm] Fix gcc build. 2019-10-17 16:51:32 +00:00
zone_test.cc [vm] Check Zones are only [un]chained on the correct side of a safepoint transition. 2019-05-01 00:36:14 +00:00
zone_text_buffer.cc
zone_text_buffer.h