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

Side by Side Diff: src/objects.h

Issue 166023003: Do not visit smis in the root list during GC. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: addressed comments Created 6 years, 10 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/heap-inl.h ('k') | src/serialize.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 10618 matching lines...) Expand 10 before | Expand all | Expand 10 after
10629 10629
10630 10630
10631 #undef DECL_BOOLEAN_ACCESSORS 10631 #undef DECL_BOOLEAN_ACCESSORS
10632 #undef DECL_ACCESSORS 10632 #undef DECL_ACCESSORS
10633 #undef DECLARE_VERIFIER 10633 #undef DECLARE_VERIFIER
10634 10634
10635 #define VISITOR_SYNCHRONIZATION_TAGS_LIST(V) \ 10635 #define VISITOR_SYNCHRONIZATION_TAGS_LIST(V) \
10636 V(kStringTable, "string_table", "(Internalized strings)") \ 10636 V(kStringTable, "string_table", "(Internalized strings)") \
10637 V(kExternalStringsTable, "external_strings_table", "(External strings)") \ 10637 V(kExternalStringsTable, "external_strings_table", "(External strings)") \
10638 V(kStrongRootList, "strong_root_list", "(Strong roots)") \ 10638 V(kStrongRootList, "strong_root_list", "(Strong roots)") \
10639 V(kSmiRootList, "smi_root_list", "(Smi roots)") \
10639 V(kInternalizedString, "internalized_string", "(Internal string)") \ 10640 V(kInternalizedString, "internalized_string", "(Internal string)") \
10640 V(kBootstrapper, "bootstrapper", "(Bootstrapper)") \ 10641 V(kBootstrapper, "bootstrapper", "(Bootstrapper)") \
10641 V(kTop, "top", "(Isolate)") \ 10642 V(kTop, "top", "(Isolate)") \
10642 V(kRelocatable, "relocatable", "(Relocatable)") \ 10643 V(kRelocatable, "relocatable", "(Relocatable)") \
10643 V(kDebug, "debug", "(Debugger)") \ 10644 V(kDebug, "debug", "(Debugger)") \
10644 V(kCompilationCache, "compilationcache", "(Compilation cache)") \ 10645 V(kCompilationCache, "compilationcache", "(Compilation cache)") \
10645 V(kHandleScope, "handlescope", "(Handle scope)") \ 10646 V(kHandleScope, "handlescope", "(Handle scope)") \
10646 V(kBuiltins, "builtins", "(Builtins)") \ 10647 V(kBuiltins, "builtins", "(Builtins)") \
10647 V(kGlobalHandles, "globalhandles", "(Global handles)") \ 10648 V(kGlobalHandles, "globalhandles", "(Global handles)") \
10648 V(kEternalHandles, "eternalhandles", "(Eternal handles)") \ 10649 V(kEternalHandles, "eternalhandles", "(Eternal handles)") \
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
10753 } else { 10754 } else {
10754 value &= ~(1 << bit_position); 10755 value &= ~(1 << bit_position);
10755 } 10756 }
10756 return value; 10757 return value;
10757 } 10758 }
10758 }; 10759 };
10759 10760
10760 } } // namespace v8::internal 10761 } } // namespace v8::internal
10761 10762
10762 #endif // V8_OBJECTS_H_ 10763 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/heap-inl.h ('k') | src/serialize.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698