| 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 7494 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7505 PrintF("sweepns=%.1f ", scopes_[Scope::MC_SWEEP_NEWSPACE]); | 7505 PrintF("sweepns=%.1f ", scopes_[Scope::MC_SWEEP_NEWSPACE]); |
| 7506 PrintF("evacuate=%.1f ", scopes_[Scope::MC_EVACUATE_PAGES]); | 7506 PrintF("evacuate=%.1f ", scopes_[Scope::MC_EVACUATE_PAGES]); |
| 7507 PrintF("new_new=%.1f ", scopes_[Scope::MC_UPDATE_NEW_TO_NEW_POINTERS]); | 7507 PrintF("new_new=%.1f ", scopes_[Scope::MC_UPDATE_NEW_TO_NEW_POINTERS]); |
| 7508 PrintF("root_new=%.1f ", scopes_[Scope::MC_UPDATE_ROOT_TO_NEW_POINTERS]); | 7508 PrintF("root_new=%.1f ", scopes_[Scope::MC_UPDATE_ROOT_TO_NEW_POINTERS]); |
| 7509 PrintF("old_new=%.1f ", scopes_[Scope::MC_UPDATE_OLD_TO_NEW_POINTERS]); | 7509 PrintF("old_new=%.1f ", scopes_[Scope::MC_UPDATE_OLD_TO_NEW_POINTERS]); |
| 7510 PrintF("compaction_ptrs=%.1f ", | 7510 PrintF("compaction_ptrs=%.1f ", |
| 7511 scopes_[Scope::MC_UPDATE_POINTERS_TO_EVACUATED]); | 7511 scopes_[Scope::MC_UPDATE_POINTERS_TO_EVACUATED]); |
| 7512 PrintF("intracompaction_ptrs=%.1f ", | 7512 PrintF("intracompaction_ptrs=%.1f ", |
| 7513 scopes_[Scope::MC_UPDATE_POINTERS_BETWEEN_EVACUATED]); | 7513 scopes_[Scope::MC_UPDATE_POINTERS_BETWEEN_EVACUATED]); |
| 7514 PrintF("misc_compaction=%.1f ", scopes_[Scope::MC_UPDATE_MISC_POINTERS]); | 7514 PrintF("misc_compaction=%.1f ", scopes_[Scope::MC_UPDATE_MISC_POINTERS]); |
| 7515 PrintF("weakmap_process=%.1f ", scopes_[Scope::MC_WEAKMAP_PROCESS]); |
| 7516 PrintF("weakmap_clear=%.1f ", scopes_[Scope::MC_WEAKMAP_CLEAR]); |
| 7515 | 7517 |
| 7516 PrintF("total_size_before=%" V8_PTR_PREFIX "d ", start_object_size_); | 7518 PrintF("total_size_before=%" V8_PTR_PREFIX "d ", start_object_size_); |
| 7517 PrintF("total_size_after=%" V8_PTR_PREFIX "d ", heap_->SizeOfObjects()); | 7519 PrintF("total_size_after=%" V8_PTR_PREFIX "d ", heap_->SizeOfObjects()); |
| 7518 PrintF("holes_size_before=%" V8_PTR_PREFIX "d ", | 7520 PrintF("holes_size_before=%" V8_PTR_PREFIX "d ", |
| 7519 in_free_list_or_wasted_before_gc_); | 7521 in_free_list_or_wasted_before_gc_); |
| 7520 PrintF("holes_size_after=%" V8_PTR_PREFIX "d ", CountTotalHolesSize(heap_)); | 7522 PrintF("holes_size_after=%" V8_PTR_PREFIX "d ", CountTotalHolesSize(heap_)); |
| 7521 | 7523 |
| 7522 PrintF("allocated=%" V8_PTR_PREFIX "d ", allocated_since_last_gc_); | 7524 PrintF("allocated=%" V8_PTR_PREFIX "d ", allocated_since_last_gc_); |
| 7523 PrintF("promoted=%" V8_PTR_PREFIX "d ", promoted_objects_size_); | 7525 PrintF("promoted=%" V8_PTR_PREFIX "d ", promoted_objects_size_); |
| 7524 PrintF("nodes_died_in_new=%d ", nodes_died_in_new_space_); | 7526 PrintF("nodes_died_in_new=%d ", nodes_died_in_new_space_); |
| (...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7943 if (FLAG_parallel_recompilation) { | 7945 if (FLAG_parallel_recompilation) { |
| 7944 heap_->relocation_mutex_->Lock(); | 7946 heap_->relocation_mutex_->Lock(); |
| 7945 #ifdef DEBUG | 7947 #ifdef DEBUG |
| 7946 heap_->relocation_mutex_locked_by_optimizer_thread_ = | 7948 heap_->relocation_mutex_locked_by_optimizer_thread_ = |
| 7947 heap_->isolate()->optimizing_compiler_thread()->IsOptimizerThread(); | 7949 heap_->isolate()->optimizing_compiler_thread()->IsOptimizerThread(); |
| 7948 #endif // DEBUG | 7950 #endif // DEBUG |
| 7949 } | 7951 } |
| 7950 } | 7952 } |
| 7951 | 7953 |
| 7952 } } // namespace v8::internal | 7954 } } // namespace v8::internal |
| OLD | NEW |