Chromium Code Reviews| 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 4166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 4177 * Registered |callback| must not reenter interrupted Isolate. | 4177 * Registered |callback| must not reenter interrupted Isolate. |
| 4178 */ | 4178 */ |
| 4179 void RequestInterrupt(InterruptCallback callback, void* data); | 4179 void RequestInterrupt(InterruptCallback callback, void* data); |
| 4180 | 4180 |
| 4181 /** | 4181 /** |
| 4182 * Clear interrupt request created by |RequestInterrupt|. | 4182 * Clear interrupt request created by |RequestInterrupt|. |
| 4183 * Can be called from another thread without acquiring a |Locker|. | 4183 * Can be called from another thread without acquiring a |Locker|. |
| 4184 */ | 4184 */ |
| 4185 void ClearInterrupt(); | 4185 void ClearInterrupt(); |
| 4186 | 4186 |
| 4187 /** | |
| 4188 * Request garbage collection in this Isolate. If |minor| is true, a | |
| 4189 * minor garbage collection is performed. | |
| 4190 */ | |
| 4191 void RequestGarbageCollection(bool minor); | |
|
Benedikt Meurer
2014/01/13 06:12:06
Please use an enum instead of bool here.
| |
| 4192 | |
| 4187 private: | 4193 private: |
| 4188 Isolate(); | 4194 Isolate(); |
| 4189 Isolate(const Isolate&); | 4195 Isolate(const Isolate&); |
| 4190 ~Isolate(); | 4196 ~Isolate(); |
| 4191 Isolate& operator=(const Isolate&); | 4197 Isolate& operator=(const Isolate&); |
| 4192 void* operator new(size_t size); | 4198 void* operator new(size_t size); |
| 4193 void operator delete(void*, size_t); | 4199 void operator delete(void*, size_t); |
| 4194 | 4200 |
| 4195 void SetObjectGroupId(internal::Object** object, UniqueId id); | 4201 void SetObjectGroupId(internal::Object** object, UniqueId id); |
| 4196 void SetReferenceFromGroup(UniqueId id, internal::Object** object); | 4202 void SetReferenceFromGroup(UniqueId id, internal::Object** object); |
| (...skipping 2231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 6428 */ | 6434 */ |
| 6429 | 6435 |
| 6430 | 6436 |
| 6431 } // namespace v8 | 6437 } // namespace v8 |
| 6432 | 6438 |
| 6433 | 6439 |
| 6434 #undef TYPE_CHECK | 6440 #undef TYPE_CHECK |
| 6435 | 6441 |
| 6436 | 6442 |
| 6437 #endif // V8_H_ | 6443 #endif // V8_H_ |
| OLD | NEW |