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

Issue 1100743004: Adding field to tell if gin::IsolateHolder needs lock to be accessed. (Closed)

Created:
5 years, 8 months ago by ssid
Modified:
5 years, 8 months ago
CC:
picksi1, Primiano Tucci (use gerrit)
Base URL:
https://chromium.googlesource.com/chromium/src.git@discardable
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Adding field to tell if gin::IsolateHolder needs lock to be accessed. V8 dump provider needs to access the isolate to get memory statistics. When proxy_resolver causes the isolate to switch between threads, the dump provider cannot access it from the correct thread. This CL adds a field to IsolateHolder to tell the dump provider if it needs to use a lock to access the isolate. BUG=476013 Committed: https://crrev.com/cf20763e247e6efa09bd9f8ff22d460e93161806 Cr-Commit-Position: refs/heads/master@{#326794}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Renames. #

Total comments: 2

Patch Set 3 : Rename. #

Total comments: 1

Patch Set 4 : Adding explicit. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -2 lines) Patch
M gin/isolate_holder.cc View 1 1 chunk +5 lines, -1 line 0 comments Download
M gin/public/isolate_holder.h View 1 2 3 2 chunks +11 lines, -0 lines 0 comments Download
M net/proxy/proxy_resolver_v8.cc View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 20 (7 generated)
ssid
PTAL.
5 years, 8 months ago (2015-04-23 15:18:30 UTC) #2
Primiano Tucci (use gerrit)
Jochen, WDYT here? https://codereview.chromium.org/1100743004/diff/1/gin/isolate_holder.cc File gin/isolate_holder.cc (right): https://codereview.chromium.org/1100743004/diff/1/gin/isolate_holder.cc#newcode90 gin/isolate_holder.cc:90: bool IsolateHolder::UseLock() { At this point, ...
5 years, 8 months ago (2015-04-23 15:52:40 UTC) #4
rmcilroy
lgtm once typo is fixed. https://codereview.chromium.org/1100743004/diff/1/gin/public/isolate_holder.h File gin/public/isolate_holder.h (right): https://codereview.chromium.org/1100743004/diff/1/gin/public/isolate_holder.h#newcode30 gin/public/isolate_holder.h:30: // Stores wheather the ...
5 years, 8 months ago (2015-04-23 15:52:52 UTC) #6
rmcilroy
On 2015/04/23 15:52:52, rmcilroy wrote: > lgtm once typo is fixed. +Primiano's comments.
5 years, 8 months ago (2015-04-23 15:53:42 UTC) #7
ssid
made changes. https://codereview.chromium.org/1100743004/diff/1/gin/isolate_holder.cc File gin/isolate_holder.cc (right): https://codereview.chromium.org/1100743004/diff/1/gin/isolate_holder.cc#newcode90 gin/isolate_holder.cc:90: bool IsolateHolder::UseLock() { On 2015/04/23 15:52:40, Primiano ...
5 years, 8 months ago (2015-04-23 16:24:57 UTC) #8
ssid
+rsleevi@ for 1 line change in net/proxy +jochen@ for the rest.
5 years, 8 months ago (2015-04-23 16:26:58 UTC) #10
rmcilroy
https://codereview.chromium.org/1100743004/diff/20001/gin/public/isolate_holder.h File gin/public/isolate_holder.h (right): https://codereview.chromium.org/1100743004/diff/20001/gin/public/isolate_holder.h#newcode63 gin/public/isolate_holder.h:63: AccessMode does_use_v8_locker() { return access_mode_; } Should be access_mode() ...
5 years, 8 months ago (2015-04-23 17:01:27 UTC) #11
Primiano Tucci (use gerrit)
https://codereview.chromium.org/1100743004/diff/20001/gin/public/isolate_holder.h File gin/public/isolate_holder.h (right): https://codereview.chromium.org/1100743004/diff/20001/gin/public/isolate_holder.h#newcode63 gin/public/isolate_holder.h:63: AccessMode does_use_v8_locker() { return access_mode_; } On 2015/04/23 17:01:27, ...
5 years, 8 months ago (2015-04-23 17:20:32 UTC) #13
Ryan Sleevi
//net LGTM % style issue https://codereview.chromium.org/1100743004/diff/40001/gin/public/isolate_holder.h File gin/public/isolate_holder.h (right): https://codereview.chromium.org/1100743004/diff/40001/gin/public/isolate_holder.h#newcode37 gin/public/isolate_holder.h:37: IsolateHolder(AccessMode access_mode); explicit
5 years, 8 months ago (2015-04-23 20:32:15 UTC) #14
jochen (gone - plz use gerrit)
lgtm
5 years, 8 months ago (2015-04-24 14:07:53 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1100743004/60001
5 years, 8 months ago (2015-04-24 14:39:27 UTC) #18
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 8 months ago (2015-04-24 14:44:27 UTC) #19
commit-bot: I haz the power
5 years, 8 months ago (2015-04-24 14:46:28 UTC) #20
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/cf20763e247e6efa09bd9f8ff22d460e93161806
Cr-Commit-Position: refs/heads/master@{#326794}

Powered by Google App Engine
This is Rietveld 408576698