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

Unified Diff: src/objects.h

Issue 227133007: Allow race-full access of map instance size when sweeping concurrently. (Closed) Base URL: https://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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/objects-inl.h » ('j') | src/objects-inl.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index ff9f45721f1498a181015755bb9759b670f53aa1..a77e387167b9d03b145c5732781c7202ec4600c3 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -5986,6 +5986,10 @@ class Map: public HeapObject {
inline int instance_size();
inline void set_instance_size(int value);
+ // Get and set the instance size of a map using no barrier semantics.
+ inline int nobarrier_instance_size();
+ inline void nobarrier_set_instance_size(int value);
+
// Count of properties allocated in the object.
inline int inobject_properties();
inline void set_inobject_properties(int value);
« no previous file with comments | « no previous file | src/objects-inl.h » ('j') | src/objects-inl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698