Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(660)

Side by Side Diff: runtime/vm/thread.h

Issue 1778103003: Invoke CallToRuntime via Thread instead of ObjectPools. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « runtime/vm/runtime_entry_x64.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #ifndef VM_THREAD_H_ 5 #ifndef VM_THREAD_H_
6 #define VM_THREAD_H_ 6 #define VM_THREAD_H_
7 7
8 #include "include/dart_api.h" 8 #include "include/dart_api.h"
9 #include "platform/assert.h" 9 #include "platform/assert.h"
10 #include "vm/atomic.h" 10 #include "vm/atomic.h"
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 V(RawBool*, bool_true_, Object::bool_true().raw(), NULL) \ 75 V(RawBool*, bool_true_, Object::bool_true().raw(), NULL) \
76 V(RawBool*, bool_false_, Object::bool_false().raw(), NULL) \ 76 V(RawBool*, bool_false_, Object::bool_false().raw(), NULL) \
77 V(RawCode*, update_store_buffer_code_, \ 77 V(RawCode*, update_store_buffer_code_, \
78 StubCode::UpdateStoreBuffer_entry()->code(), NULL) \ 78 StubCode::UpdateStoreBuffer_entry()->code(), NULL) \
79 V(RawCode*, fix_callers_target_code_, \ 79 V(RawCode*, fix_callers_target_code_, \
80 StubCode::FixCallersTarget_entry()->code(), NULL) \ 80 StubCode::FixCallersTarget_entry()->code(), NULL) \
81 V(RawCode*, fix_allocation_stub_code_, \ 81 V(RawCode*, fix_allocation_stub_code_, \
82 StubCode::FixAllocationStubTarget_entry()->code(), NULL) \ 82 StubCode::FixAllocationStubTarget_entry()->code(), NULL) \
83 V(RawCode*, invoke_dart_code_stub_, \ 83 V(RawCode*, invoke_dart_code_stub_, \
84 StubCode::InvokeDartCode_entry()->code(), NULL) \ 84 StubCode::InvokeDartCode_entry()->code(), NULL) \
85 V(RawCode*, call_to_runtime_stub_, \
86 StubCode::CallToRuntime_entry()->code(), NULL) \
85 87
86 #define CACHED_ADDRESSES_LIST(V) \ 88 #define CACHED_ADDRESSES_LIST(V) \
87 V(uword, update_store_buffer_entry_point_, \ 89 V(uword, update_store_buffer_entry_point_, \
88 StubCode::UpdateStoreBuffer_entry()->EntryPoint(), 0) \ 90 StubCode::UpdateStoreBuffer_entry()->EntryPoint(), 0) \
91 V(uword, call_to_runtime_entry_point_, \
92 StubCode::CallToRuntime_entry()->EntryPoint(), 0) \
89 V(uword, native_call_wrapper_entry_point_, \ 93 V(uword, native_call_wrapper_entry_point_, \
90 NativeEntry::NativeCallWrapperEntry(), 0) \ 94 NativeEntry::NativeCallWrapperEntry(), 0) \
91 V(RawString**, predefined_symbols_address_, \ 95 V(RawString**, predefined_symbols_address_, \
92 Symbols::PredefinedAddress(), NULL) \ 96 Symbols::PredefinedAddress(), NULL) \
93 V(uword, double_negate_address_, \ 97 V(uword, double_negate_address_, \
94 reinterpret_cast<uword>(&double_negate_constant), 0) \ 98 reinterpret_cast<uword>(&double_negate_constant), 0) \
95 V(uword, double_abs_address_, \ 99 V(uword, double_abs_address_, \
96 reinterpret_cast<uword>(&double_abs_constant), 0) \ 100 reinterpret_cast<uword>(&double_abs_constant), 0) \
97 V(uword, float_not_address_, \ 101 V(uword, float_not_address_, \
98 reinterpret_cast<uword>(&float_not_constant), 0) \ 102 reinterpret_cast<uword>(&float_not_constant), 0) \
(...skipping 543 matching lines...) Expand 10 before | Expand all | Expand 10 after
642 // Disable thread interrupts. 646 // Disable thread interrupts.
643 class DisableThreadInterruptsScope : public StackResource { 647 class DisableThreadInterruptsScope : public StackResource {
644 public: 648 public:
645 explicit DisableThreadInterruptsScope(Thread* thread); 649 explicit DisableThreadInterruptsScope(Thread* thread);
646 ~DisableThreadInterruptsScope(); 650 ~DisableThreadInterruptsScope();
647 }; 651 };
648 652
649 } // namespace dart 653 } // namespace dart
650 654
651 #endif // VM_THREAD_H_ 655 #endif // VM_THREAD_H_
OLDNEW
« no previous file with comments | « runtime/vm/runtime_entry_x64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698