Flush PC-to-code cache before doing verification.
Review URL: https://chromiumcodereview.appspot.com/10144002 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11395 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
cadf058618
commit
a0d67fd9b0
@ -296,8 +296,6 @@ void MarkCompactCollector::CollectGarbage() {
|
||||
|
||||
if (!collect_maps_) ReattachInitialMaps();
|
||||
|
||||
heap_->isolate()->inner_pointer_to_code_cache()->Flush();
|
||||
|
||||
Finish();
|
||||
|
||||
tracer_ = NULL;
|
||||
@ -3423,6 +3421,8 @@ void MarkCompactCollector::EvacuateNewSpaceAndCandidates() {
|
||||
// under it.
|
||||
ProcessInvalidatedCode(&updating_visitor);
|
||||
|
||||
heap_->isolate()->inner_pointer_to_code_cache()->Flush();
|
||||
|
||||
#ifdef DEBUG
|
||||
if (FLAG_verify_heap) {
|
||||
VerifyEvacuation(heap_);
|
||||
|
Loading…
Reference in New Issue
Block a user