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 2693 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2704 MC_MARK, | 2704 MC_MARK, |
2705 MC_SWEEP, | 2705 MC_SWEEP, |
2706 MC_SWEEP_NEWSPACE, | 2706 MC_SWEEP_NEWSPACE, |
2707 MC_EVACUATE_PAGES, | 2707 MC_EVACUATE_PAGES, |
2708 MC_UPDATE_NEW_TO_NEW_POINTERS, | 2708 MC_UPDATE_NEW_TO_NEW_POINTERS, |
2709 MC_UPDATE_ROOT_TO_NEW_POINTERS, | 2709 MC_UPDATE_ROOT_TO_NEW_POINTERS, |
2710 MC_UPDATE_OLD_TO_NEW_POINTERS, | 2710 MC_UPDATE_OLD_TO_NEW_POINTERS, |
2711 MC_UPDATE_POINTERS_TO_EVACUATED, | 2711 MC_UPDATE_POINTERS_TO_EVACUATED, |
2712 MC_UPDATE_POINTERS_BETWEEN_EVACUATED, | 2712 MC_UPDATE_POINTERS_BETWEEN_EVACUATED, |
2713 MC_UPDATE_MISC_POINTERS, | 2713 MC_UPDATE_MISC_POINTERS, |
| 2714 MC_WEAKMAP_PROCESS, |
| 2715 MC_WEAKMAP_CLEAR, |
2714 MC_FLUSH_CODE, | 2716 MC_FLUSH_CODE, |
2715 kNumberOfScopes | 2717 kNumberOfScopes |
2716 }; | 2718 }; |
2717 | 2719 |
2718 Scope(GCTracer* tracer, ScopeId scope) | 2720 Scope(GCTracer* tracer, ScopeId scope) |
2719 : tracer_(tracer), | 2721 : tracer_(tracer), |
2720 scope_(scope) { | 2722 scope_(scope) { |
2721 start_time_ = OS::TimeCurrentMillis(); | 2723 start_time_ = OS::TimeCurrentMillis(); |
2722 } | 2724 } |
2723 | 2725 |
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3038 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. | 3040 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. |
3039 | 3041 |
3040 private: | 3042 private: |
3041 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); | 3043 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); |
3042 }; | 3044 }; |
3043 #endif // DEBUG | 3045 #endif // DEBUG |
3044 | 3046 |
3045 } } // namespace v8::internal | 3047 } } // namespace v8::internal |
3046 | 3048 |
3047 #endif // V8_HEAP_H_ | 3049 #endif // V8_HEAP_H_ |
OLD | NEW |