Hi! Could somebody advise me how to insert a record in the write barrier 
with the standard V8 API. I'm trying to do the following:
1) Create JSObject (obj1) in the Old space
2)Create the JSObject (obj2) in the New space
3) Assign the obj1 a property 1 with the value obj2 ( with the 
call Object::SetProperty)

This code doesn't write the record in the StoreBuffer object.
At least when i'm using the  void IteratePointersToNewSpace 
<https://code.google.com/p/chromium/codesearch#chromium/src/v8/src/heap/store-buffer.h&ct=xref_usages&gs=cpp:v8::internal::class-StoreBuffer::IteratePointersToNewSpace(void%2520(*)(v8::internal::HeapObject%2520**,%2520v8::internal::HeapObject%2520*))@chromium/../../v8/src/heap/store-buffer.h%257Cdecl&l=61&gsn=IteratePointersToNewSpace>
(ObjectSlotCallback 
<https://code.google.com/p/chromium/codesearch#chromium/src/v8/src/heap/store-buffer.h&cl=GROK&ct=xref_jump_to_def&l=20&gsn=ObjectSlotCallback>
 
callback 
<https://code.google.com/p/chromium/codesearch#chromium/src/v8/src/heap/store-buffer.h&ct=xref_usages&gs=cpp:v8::internal::class-StoreBuffer::IteratePointersToNewSpace(void%2520(*)(v8::internal::HeapObject%2520**,%2520v8::internal::HeapObject%2520*))::param-callback@chromium/../../v8/src/heap/store-buffer.h:2515%257Cdecl&l=61&gsn=callback>)
 
function it doesn't seems to call anything.

Thanks!

-- 
-- 
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- 
You received this message because you are subscribed to the Google Groups 
"v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to