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 6937 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
6948 PrintF("total_sweeping_time=%.1f ", sweeping_time()); | 6948 PrintF("total_sweeping_time=%.1f ", sweeping_time()); |
6949 PrintF("\n\n"); | 6949 PrintF("\n\n"); |
6950 } | 6950 } |
6951 | 6951 |
6952 TearDownArrayBuffers(); | 6952 TearDownArrayBuffers(); |
6953 | 6953 |
6954 isolate_->global_handles()->TearDown(); | 6954 isolate_->global_handles()->TearDown(); |
6955 | 6955 |
6956 external_string_table_.TearDown(); | 6956 external_string_table_.TearDown(); |
6957 | 6957 |
6958 mark_compact_collector()->AbortCompaction(); | |
Michael Starzinger
2013/07/30 11:08:38
nit: Can we add a MarkCompactCollector::TearDown m
Hannes Payer (out of office)
2013/07/31 07:13:37
Done.
| |
6959 | |
6958 new_space_.TearDown(); | 6960 new_space_.TearDown(); |
6959 | 6961 |
6960 if (old_pointer_space_ != NULL) { | 6962 if (old_pointer_space_ != NULL) { |
6961 old_pointer_space_->TearDown(); | 6963 old_pointer_space_->TearDown(); |
6962 delete old_pointer_space_; | 6964 delete old_pointer_space_; |
6963 old_pointer_space_ = NULL; | 6965 old_pointer_space_ = NULL; |
6964 } | 6966 } |
6965 | 6967 |
6966 if (old_data_space_ != NULL) { | 6968 if (old_data_space_ != NULL) { |
6967 old_data_space_->TearDown(); | 6969 old_data_space_->TearDown(); |
(...skipping 1071 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
8039 if (FLAG_parallel_recompilation) { | 8041 if (FLAG_parallel_recompilation) { |
8040 heap_->relocation_mutex_->Lock(); | 8042 heap_->relocation_mutex_->Lock(); |
8041 #ifdef DEBUG | 8043 #ifdef DEBUG |
8042 heap_->relocation_mutex_locked_by_optimizer_thread_ = | 8044 heap_->relocation_mutex_locked_by_optimizer_thread_ = |
8043 heap_->isolate()->optimizing_compiler_thread()->IsOptimizerThread(); | 8045 heap_->isolate()->optimizing_compiler_thread()->IsOptimizerThread(); |
8044 #endif // DEBUG | 8046 #endif // DEBUG |
8045 } | 8047 } |
8046 } | 8048 } |
8047 | 8049 |
8048 } } // namespace v8::internal | 8050 } } // namespace v8::internal |
OLD | NEW |