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

Side by Side Diff: include/v8.h

Issue 257035: Remove the high-priority flag from IdleNotification() since... (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 | « no previous file | src/api.cc » ('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 2007-2009 the V8 project authors. All rights reserved. 1 // Copyright 2007-2009 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 2332 matching lines...) Expand 10 before | Expand all | Expand 10 after
2343 * a process, this should happen automatically. It is only necessary 2343 * a process, this should happen automatically. It is only necessary
2344 * to use if the process needs the resources taken up by v8. 2344 * to use if the process needs the resources taken up by v8.
2345 */ 2345 */
2346 static bool Dispose(); 2346 static bool Dispose();
2347 2347
2348 2348
2349 /** 2349 /**
2350 * Optional notification that the embedder is idle. 2350 * Optional notification that the embedder is idle.
2351 * V8 uses the notification to reduce memory footprint. 2351 * V8 uses the notification to reduce memory footprint.
2352 * This call can be used repeatedly if the embedder remains idle. 2352 * This call can be used repeatedly if the embedder remains idle.
2353 * \param is_high_priority tells whether the embedder is high priority.
2354 * Returns true if the embedder should stop calling IdleNotification 2353 * Returns true if the embedder should stop calling IdleNotification
2355 * until real work has been done. This indicates that V8 has done 2354 * until real work has been done. This indicates that V8 has done
2356 * as much cleanup as it will be able to do. 2355 * as much cleanup as it will be able to do.
2357 */ 2356 */
2358 static bool IdleNotification(bool is_high_priority); 2357 static bool IdleNotification();
2359 2358
2360 /** 2359 /**
2361 * Optional notification that the system is running low on memory. 2360 * Optional notification that the system is running low on memory.
2362 * V8 uses these notifications to attempt to free memory. 2361 * V8 uses these notifications to attempt to free memory.
2363 */ 2362 */
2364 static void LowMemoryNotification(); 2363 static void LowMemoryNotification();
2365 2364
2366 private: 2365 private:
2367 V8(); 2366 V8();
2368 2367
(...skipping 745 matching lines...) Expand 10 before | Expand all | Expand 10 after
3114 3113
3115 } // namespace v8 3114 } // namespace v8
3116 3115
3117 3116
3118 #undef V8EXPORT 3117 #undef V8EXPORT
3119 #undef V8EXPORT_INLINE 3118 #undef V8EXPORT_INLINE
3120 #undef TYPE_CHECK 3119 #undef TYPE_CHECK
3121 3120
3122 3121
3123 #endif // V8_H_ 3122 #endif // V8_H_
OLDNEW
« no previous file with comments | « no previous file | src/api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698