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 5297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5308 // Code aging. Indicates how many full GCs this code has survived without | 5308 // Code aging. Indicates how many full GCs this code has survived without |
5309 // being entered through the prologue. Used to determine when it is | 5309 // being entered through the prologue. Used to determine when it is |
5310 // relatively safe to flush this code object and replace it with the lazy | 5310 // relatively safe to flush this code object and replace it with the lazy |
5311 // compilation stub. | 5311 // compilation stub. |
5312 static void MakeCodeAgeSequenceYoung(byte* sequence, Isolate* isolate); | 5312 static void MakeCodeAgeSequenceYoung(byte* sequence, Isolate* isolate); |
5313 void MakeOlder(MarkingParity); | 5313 void MakeOlder(MarkingParity); |
5314 static bool IsYoungSequence(byte* sequence); | 5314 static bool IsYoungSequence(byte* sequence); |
5315 bool IsOld(); | 5315 bool IsOld(); |
5316 int GetAge(); | 5316 int GetAge(); |
5317 | 5317 |
5318 void PrintDeoptLocation(int bailout_id); | 5318 void PrintDeoptLocation(FILE* out, int bailout_id); |
5319 bool CanDeoptAt(Address pc); | 5319 bool CanDeoptAt(Address pc); |
5320 | 5320 |
5321 #ifdef VERIFY_HEAP | 5321 #ifdef VERIFY_HEAP |
5322 void VerifyEmbeddedObjectsDependency(); | 5322 void VerifyEmbeddedObjectsDependency(); |
5323 #endif | 5323 #endif |
5324 | 5324 |
5325 static bool IsWeakEmbeddedObject(Kind kind, Object* object); | 5325 static bool IsWeakEmbeddedObject(Kind kind, Object* object); |
5326 | 5326 |
5327 // Max loop nesting marker used to postpose OSR. We don't take loop | 5327 // Max loop nesting marker used to postpose OSR. We don't take loop |
5328 // nesting that is deeper than 5 levels into account. | 5328 // nesting that is deeper than 5 levels into account. |
(...skipping 5090 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10419 } else { | 10419 } else { |
10420 value &= ~(1 << bit_position); | 10420 value &= ~(1 << bit_position); |
10421 } | 10421 } |
10422 return value; | 10422 return value; |
10423 } | 10423 } |
10424 }; | 10424 }; |
10425 | 10425 |
10426 } } // namespace v8::internal | 10426 } } // namespace v8::internal |
10427 | 10427 |
10428 #endif // V8_OBJECTS_H_ | 10428 #endif // V8_OBJECTS_H_ |
OLD | NEW |