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

Side by Side Diff: src/isolate.cc

Issue 9255014: Only clear monomorphic ICs on GC after Context exit (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: fixed tests Created 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/isolate.h ('k') | src/mark-compact.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
11 // with the distribution. 11 // with the distribution.
(...skipping 1435 matching lines...) Expand 10 before | Expand all | Expand 10 after
1447 preallocated_storage_preallocated_(false), 1447 preallocated_storage_preallocated_(false),
1448 inner_pointer_to_code_cache_(NULL), 1448 inner_pointer_to_code_cache_(NULL),
1449 write_input_buffer_(NULL), 1449 write_input_buffer_(NULL),
1450 global_handles_(NULL), 1450 global_handles_(NULL),
1451 context_switcher_(NULL), 1451 context_switcher_(NULL),
1452 thread_manager_(NULL), 1452 thread_manager_(NULL),
1453 fp_stubs_generated_(false), 1453 fp_stubs_generated_(false),
1454 has_installed_extensions_(false), 1454 has_installed_extensions_(false),
1455 string_tracker_(NULL), 1455 string_tracker_(NULL),
1456 regexp_stack_(NULL), 1456 regexp_stack_(NULL),
1457 embedder_data_(NULL) { 1457 embedder_data_(NULL),
1458 context_exit_happened_(false) {
1458 TRACE_ISOLATE(constructor); 1459 TRACE_ISOLATE(constructor);
1459 1460
1460 memset(isolate_addresses_, 0, 1461 memset(isolate_addresses_, 0,
1461 sizeof(isolate_addresses_[0]) * (kIsolateAddressCount + 1)); 1462 sizeof(isolate_addresses_[0]) * (kIsolateAddressCount + 1));
1462 1463
1463 heap_.isolate_ = this; 1464 heap_.isolate_ = this;
1464 zone_.isolate_ = this; 1465 zone_.isolate_ = this;
1465 stack_guard_.isolate_ = this; 1466 stack_guard_.isolate_ = this;
1466 1467
1467 // ThreadManager is initialized early to support locking an isolate 1468 // ThreadManager is initialized early to support locking an isolate
(...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after
1918 1919
1919 #ifdef DEBUG 1920 #ifdef DEBUG
1920 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \ 1921 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \
1921 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_); 1922 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_);
1922 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET) 1923 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET)
1923 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET) 1924 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET)
1924 #undef ISOLATE_FIELD_OFFSET 1925 #undef ISOLATE_FIELD_OFFSET
1925 #endif 1926 #endif
1926 1927
1927 } } // namespace v8::internal 1928 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/isolate.h ('k') | src/mark-compact.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698