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

Side by Side Diff: src/isolate.cc

Issue 13016003: GDBJIT: Add gdbjit_zone for --gdbjit_full (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 7 years, 9 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') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 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
(...skipping 1645 matching lines...) Expand 10 before | Expand all | Expand 10 after
1656 stack_trace_for_uncaught_exceptions_frame_limit_(0), 1656 stack_trace_for_uncaught_exceptions_frame_limit_(0),
1657 stack_trace_for_uncaught_exceptions_options_(StackTrace::kOverview), 1657 stack_trace_for_uncaught_exceptions_options_(StackTrace::kOverview),
1658 transcendental_cache_(NULL), 1658 transcendental_cache_(NULL),
1659 memory_allocator_(NULL), 1659 memory_allocator_(NULL),
1660 keyed_lookup_cache_(NULL), 1660 keyed_lookup_cache_(NULL),
1661 context_slot_cache_(NULL), 1661 context_slot_cache_(NULL),
1662 descriptor_lookup_cache_(NULL), 1662 descriptor_lookup_cache_(NULL),
1663 handle_scope_implementer_(NULL), 1663 handle_scope_implementer_(NULL),
1664 unicode_cache_(NULL), 1664 unicode_cache_(NULL),
1665 runtime_zone_(this), 1665 runtime_zone_(this),
1666 #ifdef ENABLE_GDB_JIT_INTERFACE
1667 gdbjit_zone_(this),
1668 #endif
1666 in_use_list_(0), 1669 in_use_list_(0),
1667 free_list_(0), 1670 free_list_(0),
1668 preallocated_storage_preallocated_(false), 1671 preallocated_storage_preallocated_(false),
1669 inner_pointer_to_code_cache_(NULL), 1672 inner_pointer_to_code_cache_(NULL),
1670 write_iterator_(NULL), 1673 write_iterator_(NULL),
1671 global_handles_(NULL), 1674 global_handles_(NULL),
1672 context_switcher_(NULL), 1675 context_switcher_(NULL),
1673 thread_manager_(NULL), 1676 thread_manager_(NULL),
1674 fp_stubs_generated_(false), 1677 fp_stubs_generated_(false),
1675 has_installed_extensions_(false), 1678 has_installed_extensions_(false),
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
1851 Thread::SetThreadLocal(per_isolate_thread_data_key_, data); 1854 Thread::SetThreadLocal(per_isolate_thread_data_key_, data);
1852 } 1855 }
1853 1856
1854 1857
1855 Isolate::~Isolate() { 1858 Isolate::~Isolate() {
1856 TRACE_ISOLATE(destructor); 1859 TRACE_ISOLATE(destructor);
1857 1860
1858 // Has to be called while counters_ are still alive. 1861 // Has to be called while counters_ are still alive.
1859 runtime_zone_.DeleteKeptSegment(); 1862 runtime_zone_.DeleteKeptSegment();
1860 1863
1864 #ifdef ENABLE_GDB_JIT_INTERFACE
1865 gdbjit_zone_.DeleteKeptSegment();
1866 #endif
1867
1861 delete[] assembler_spare_buffer_; 1868 delete[] assembler_spare_buffer_;
1862 assembler_spare_buffer_ = NULL; 1869 assembler_spare_buffer_ = NULL;
1863 1870
1864 delete unicode_cache_; 1871 delete unicode_cache_;
1865 unicode_cache_ = NULL; 1872 unicode_cache_ = NULL;
1866 1873
1867 delete date_cache_; 1874 delete date_cache_;
1868 date_cache_ = NULL; 1875 date_cache_ = NULL;
1869 1876
1870 delete[] code_stub_interface_descriptors_; 1877 delete[] code_stub_interface_descriptors_;
(...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after
2365 2372
2366 #ifdef DEBUG 2373 #ifdef DEBUG
2367 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \ 2374 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \
2368 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_); 2375 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_);
2369 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET) 2376 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET)
2370 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET) 2377 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET)
2371 #undef ISOLATE_FIELD_OFFSET 2378 #undef ISOLATE_FIELD_OFFSET
2372 #endif 2379 #endif
2373 2380
2374 } } // namespace v8::internal 2381 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/isolate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698