Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(354)

Side by Side Diff: src/spaces.cc

Issue 212833002: [msan] Do not unpoison heap if running on simulator. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/msan.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « src/msan.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698