projects
/
platform
/
upstream
/
v8.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b563cea
)
Acquire a lock before checking for GC interrupt in JSON parser.
author
ulan
<ulan@chromium.org>
Mon, 23 Mar 2015 17:16:05 +0000
(10:16 -0700)
committer
Commit bot
<commit-bot@chromium.org>
Mon, 23 Mar 2015 17:16:14 +0000
(17:16 +0000)
BUG=
Review URL: https://codereview.chromium.org/
1025333002
Cr-Commit-Position: refs/heads/master@{#27375}
src/json-parser.h
patch
|
blob
|
history
diff --git
a/src/json-parser.h
b/src/json-parser.h
index 7cf80966dfd18d317d61c6ff2e34ee7d38c09fa3..1a9a36f283513bab2f3b72d2d6e5a78c6d0d2de8 100644
(file)
--- a/
src/json-parser.h
+++ b/
src/json-parser.h
@@
-262,6
+262,7
@@
Handle<Object> JsonParser<seq_one_byte>::ParseJsonValue() {
}
if (isolate_->stack_guard()->InterruptRequested()) {
+ ExecutionAccess access(isolate_);
// Avoid blocking GC in long running parser (v8:3974).
isolate_->stack_guard()->CheckAndHandleGCInterrupt();
}