OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 693 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
704 } | 704 } |
705 | 705 |
706 MemoryChunk* result = MemoryChunk::Initialize(heap, | 706 MemoryChunk* result = MemoryChunk::Initialize(heap, |
707 base, | 707 base, |
708 chunk_size, | 708 chunk_size, |
709 area_start, | 709 area_start, |
710 area_end, | 710 area_end, |
711 executable, | 711 executable, |
712 owner); | 712 owner); |
713 result->set_reserved_memory(&reservation); | 713 result->set_reserved_memory(&reservation); |
714 MSAN_MEMORY_IS_INITIALIZED(base, chunk_size); | 714 MSAN_MEMORY_IS_INITIALIZED_IN_JIT(base, chunk_size); |
715 return result; | 715 return result; |
716 } | 716 } |
717 | 717 |
718 | 718 |
719 void Page::ResetFreeListStatistics() { | 719 void Page::ResetFreeListStatistics() { |
720 non_available_small_blocks_ = 0; | 720 non_available_small_blocks_ = 0; |
721 available_in_small_free_list_ = 0; | 721 available_in_small_free_list_ = 0; |
722 available_in_medium_free_list_ = 0; | 722 available_in_medium_free_list_ = 0; |
723 available_in_large_free_list_ = 0; | 723 available_in_large_free_list_ = 0; |
724 available_in_huge_free_list_ = 0; | 724 available_in_huge_free_list_ = 0; |
(...skipping 2474 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3199 object->ShortPrint(); | 3199 object->ShortPrint(); |
3200 PrintF("\n"); | 3200 PrintF("\n"); |
3201 } | 3201 } |
3202 printf(" --------------------------------------\n"); | 3202 printf(" --------------------------------------\n"); |
3203 printf(" Marked: %x, LiveCount: %x\n", mark_size, LiveBytes()); | 3203 printf(" Marked: %x, LiveCount: %x\n", mark_size, LiveBytes()); |
3204 } | 3204 } |
3205 | 3205 |
3206 #endif // DEBUG | 3206 #endif // DEBUG |
3207 | 3207 |
3208 } } // namespace v8::internal | 3208 } } // namespace v8::internal |
OLD | NEW |