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

Unified Diff: src/v8threads.cc

Issue 564035: Remove lazy loading of natives files and the natives cache.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/partial_snapshots/
Patch Set: Created 10 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/string.js ('k') | test/cctest/cctest.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/v8threads.cc
===================================================================
--- src/v8threads.cc (revision 3777)
+++ src/v8threads.cc (working copy)
@@ -156,6 +156,7 @@
return false;
}
char* from = state->data();
+ printf("Restore from %p\n", (void*)state->data());
from = HandleScopeImplementer::RestoreThread(from);
from = Top::RestoreThread(from);
from = Relocatable::RestoreState(from);
@@ -284,6 +285,7 @@
void ThreadManager::EagerlyArchiveThread() {
ThreadState* state = lazily_archived_thread_state_;
state->LinkInto(ThreadState::IN_USE_LIST);
+ printf("Archive into %p\n", (void*)state->data());
char* to = state->data();
// Ensure that data containing GC roots are archived first, and handle them
// in ThreadManager::Iterate(ObjectVisitor*).
@@ -324,6 +326,7 @@
state != NULL;
state = state->Next()) {
char* data = state->data();
+ printf("Iterate over %p\n", (void*)state->data());
data = HandleScopeImplementer::Iterate(v, data);
data = Top::Iterate(v, data);
data = Relocatable::Iterate(v, data);
@@ -336,6 +339,7 @@
state != NULL;
state = state->Next()) {
char* data = state->data();
+ printf("Mark compact prologue %p\n", (void*)state->data());
data += HandleScopeImplementer::ArchiveSpacePerThread();
Top::MarkCompactPrologue(is_compacting, data);
}
@@ -347,6 +351,7 @@
state != NULL;
state = state->Next()) {
char* data = state->data();
+ printf("Mark compact epilogue %p\n", (void*)state->data());
data += HandleScopeImplementer::ArchiveSpacePerThread();
Top::MarkCompactEpilogue(is_compacting, data);
}
« no previous file with comments | « src/string.js ('k') | test/cctest/cctest.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698