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 2743 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2754 MC_MARK, | 2754 MC_MARK, |
2755 MC_SWEEP, | 2755 MC_SWEEP, |
2756 MC_SWEEP_NEWSPACE, | 2756 MC_SWEEP_NEWSPACE, |
2757 MC_EVACUATE_PAGES, | 2757 MC_EVACUATE_PAGES, |
2758 MC_UPDATE_NEW_TO_NEW_POINTERS, | 2758 MC_UPDATE_NEW_TO_NEW_POINTERS, |
2759 MC_UPDATE_ROOT_TO_NEW_POINTERS, | 2759 MC_UPDATE_ROOT_TO_NEW_POINTERS, |
2760 MC_UPDATE_OLD_TO_NEW_POINTERS, | 2760 MC_UPDATE_OLD_TO_NEW_POINTERS, |
2761 MC_UPDATE_POINTERS_TO_EVACUATED, | 2761 MC_UPDATE_POINTERS_TO_EVACUATED, |
2762 MC_UPDATE_POINTERS_BETWEEN_EVACUATED, | 2762 MC_UPDATE_POINTERS_BETWEEN_EVACUATED, |
2763 MC_UPDATE_MISC_POINTERS, | 2763 MC_UPDATE_MISC_POINTERS, |
2764 MC_WEAKMAP_PROCESS, | 2764 MC_WEAKCOLLECTION_PROCESS, |
2765 MC_WEAKMAP_CLEAR, | 2765 MC_WEAKCOLLECTION_CLEAR, |
2766 MC_FLUSH_CODE, | 2766 MC_FLUSH_CODE, |
2767 kNumberOfScopes | 2767 kNumberOfScopes |
2768 }; | 2768 }; |
2769 | 2769 |
2770 Scope(GCTracer* tracer, ScopeId scope) | 2770 Scope(GCTracer* tracer, ScopeId scope) |
2771 : tracer_(tracer), | 2771 : tracer_(tracer), |
2772 scope_(scope) { | 2772 scope_(scope) { |
2773 start_time_ = OS::TimeCurrentMillis(); | 2773 start_time_ = OS::TimeCurrentMillis(); |
2774 } | 2774 } |
2775 | 2775 |
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3094 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. | 3094 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. |
3095 | 3095 |
3096 private: | 3096 private: |
3097 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); | 3097 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); |
3098 }; | 3098 }; |
3099 #endif // DEBUG | 3099 #endif // DEBUG |
3100 | 3100 |
3101 } } // namespace v8::internal | 3101 } } // namespace v8::internal |
3102 | 3102 |
3103 #endif // V8_HEAP_H_ | 3103 #endif // V8_HEAP_H_ |
OLD | NEW |