What does EMBEDDED_OBJECT reloc mode mean?

48 views
Skip to first unread message

Dmitriy -

unread,
Aug 11, 2016, 1:57:38 AM8/11/16
to v8-dev
I've not found any doc about reloc's mode.

For example what does EMBEDDED_OBJECT mean? For what does purposes it use?.

I'm see what happens with this reloc mode, but high level description would be good.

Peter Schow

unread,
Aug 15, 2016, 11:45:51 AM8/15/16
to v8-...@googlegroups.com
Haven't seen an answer yet so I'll take a stab and someone can correct me
if I'm wrong. Embedded object here is an serialized V8 C++ object.

If you look at the enumerated RelocInfo output for a d8 run with annotated
output, you'll see various embedded objects, such as:

embedded object (0x5da87ba82b1 <String[6]: d8test>)
embedded object (0x5da87ba8341 Cell for 6144)
embedded object (0x36522b43fa41 <Code: COMPARE_IC>)
embedded object (0x36522b40c7a1 <Code: BINARY_OP_IC>)
embedded object (0x5da87b04101 <FixedArray[0]>)

孙志朋

unread,
Aug 10, 2021, 11:12:21 PM8/10/21
to v8-dev

The EMBEDDED_OBJECT was allocated in js heap? 
Reply all
Reply to author
Forward
0 new messages