Commit 75b851db authored by Georg Neis's avatar Georg Neis Committed by Commit Bot

[turbofan] Improve heap broker tracing.

Bug: v8:7790
Change-Id: Ie8b4c84188a123ddec99c65146ddd7c70e1f1b05
Reviewed-on: https://chromium-review.googlesource.com/1236073
Commit-Queue: Georg Neis <neis@chromium.org>
Reviewed-by: 's avatarJaroslav Sevcik <jarin@chromium.org>
Reviewed-by: 's avatarMaya Lekova <mslekova@chromium.org>
Cr-Commit-Position: refs/heads/master@{#56089}
parent 80195fc5
This diff is collapsed.
......@@ -487,6 +487,8 @@ class V8_EXPORT_PRIVATE JSHeapBroker : public NON_EXPORTED_BASE(ZoneObject) {
ObjectData* GetOrCreateData(Object*);
void Trace(const char* format, ...) const;
void IncrementTracingIndentation();
void DecrementTracingIndentation();
private:
friend class HeapObjectRef;
......@@ -498,6 +500,8 @@ class V8_EXPORT_PRIVATE JSHeapBroker : public NON_EXPORTED_BASE(ZoneObject) {
base::Optional<NativeContextRef> native_context_;
ZoneUnorderedMap<Address, ObjectData*> refs_;
BrokerMode mode_;
unsigned tracing_indentation_ = 0;
static const size_t kInitialRefsBucketCount = 1000;
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment