| OLD | NEW |
| 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 3975 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3986 */ | 3986 */ |
| 3987 intptr_t AdjustAmountOfExternalAllocatedMemory(intptr_t change_in_bytes); | 3987 intptr_t AdjustAmountOfExternalAllocatedMemory(intptr_t change_in_bytes); |
| 3988 | 3988 |
| 3989 /** | 3989 /** |
| 3990 * Returns heap profiler for this isolate. Will return NULL until the isolate | 3990 * Returns heap profiler for this isolate. Will return NULL until the isolate |
| 3991 * is initialized. | 3991 * is initialized. |
| 3992 */ | 3992 */ |
| 3993 HeapProfiler* GetHeapProfiler(); | 3993 HeapProfiler* GetHeapProfiler(); |
| 3994 | 3994 |
| 3995 /** | 3995 /** |
| 3996 * Returns CPU profiler for this isolate. Will return NULL until the isolate | 3996 * Returns CPU profiler for this isolate. Will return NULL unless the isolate |
| 3997 * is initialized. | 3997 * is initialized. It is the embedder's responsibility to stop all CPU |
| 3998 * profiling activities if it has started any. |
| 3998 */ | 3999 */ |
| 3999 CpuProfiler* GetCpuProfiler(); | 4000 CpuProfiler* GetCpuProfiler(); |
| 4000 | 4001 |
| 4001 /** Returns the context that is on the top of the stack. */ | 4002 /** Returns the context that is on the top of the stack. */ |
| 4002 Local<Context> GetCurrentContext(); | 4003 Local<Context> GetCurrentContext(); |
| 4003 | 4004 |
| 4004 /** | 4005 /** |
| 4005 * Allows the host application to group objects together. If one | 4006 * Allows the host application to group objects together. If one |
| 4006 * object in the group is alive, all objects in the group are alive. | 4007 * object in the group is alive, all objects in the group are alive. |
| 4007 * After each garbage collection, object groups are removed. It is | 4008 * After each garbage collection, object groups are removed. It is |
| (...skipping 2452 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6460 | 6461 |
| 6461 | 6462 |
| 6462 } // namespace v8 | 6463 } // namespace v8 |
| 6463 | 6464 |
| 6464 | 6465 |
| 6465 #undef V8EXPORT | 6466 #undef V8EXPORT |
| 6466 #undef TYPE_CHECK | 6467 #undef TYPE_CHECK |
| 6467 | 6468 |
| 6468 | 6469 |
| 6469 #endif // V8_H_ | 6470 #endif // V8_H_ |
| OLD | NEW |