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

Side by Side Diff: src/debug.h

Issue 251014: * Fix memory leaks caused by thread local data being lost.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 2 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/bootstrapper.cc ('k') | src/execution.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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 336 matching lines...) Expand 10 before | Expand all | Expand 10 after
347 static void HandleWeakDebugInfo(v8::Persistent<v8::Value> obj, void* data); 347 static void HandleWeakDebugInfo(v8::Persistent<v8::Value> obj, void* data);
348 348
349 friend class Debugger; 349 friend class Debugger;
350 friend Handle<FixedArray> GetDebuggedFunctions(); // In test-debug.cc 350 friend Handle<FixedArray> GetDebuggedFunctions(); // In test-debug.cc
351 friend void CheckDebuggerUnloaded(bool check_functions); // In test-debug.cc 351 friend void CheckDebuggerUnloaded(bool check_functions); // In test-debug.cc
352 352
353 // Threading support. 353 // Threading support.
354 static char* ArchiveDebug(char* to); 354 static char* ArchiveDebug(char* to);
355 static char* RestoreDebug(char* from); 355 static char* RestoreDebug(char* from);
356 static int ArchiveSpacePerThread(); 356 static int ArchiveSpacePerThread();
357 static void FreeThreadResources() { }
357 358
358 // Mirror cache handling. 359 // Mirror cache handling.
359 static void ClearMirrorCache(); 360 static void ClearMirrorCache();
360 361
361 // Script cache handling. 362 // Script cache handling.
362 static void CreateScriptCache(); 363 static void CreateScriptCache();
363 static void DestroyScriptCache(); 364 static void DestroyScriptCache();
364 static void AddScriptToScriptCache(Handle<Script> script); 365 static void AddScriptToScriptCache(Handle<Script> script);
365 static Handle<FixedArray> GetLoadedScripts(); 366 static Handle<FixedArray> GetLoadedScripts();
366 367
(...skipping 492 matching lines...) Expand 10 before | Expand all | Expand 10 after
859 Debug::AddressId id_; 860 Debug::AddressId id_;
860 int reg_; 861 int reg_;
861 }; 862 };
862 863
863 864
864 } } // namespace v8::internal 865 } } // namespace v8::internal
865 866
866 #endif // ENABLE_DEBUGGER_SUPPORT 867 #endif // ENABLE_DEBUGGER_SUPPORT
867 868
868 #endif // V8_DEBUG_H_ 869 #endif // V8_DEBUG_H_
OLDNEW
« no previous file with comments | « src/bootstrapper.cc ('k') | src/execution.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698