Definition at line 32 of file compactor.cc.
◆ Clear()
void dart::ForwardingBlock::Clear |
( |
| ) |
|
|
inline |
Definition at line 34 of file compactor.cc.
34 {
35 new_address_ = 0;
36 live_bitvector_ = 0;
37 }
◆ IsLive()
bool dart::ForwardingBlock::IsLive |
( |
uword |
old_addr | ) |
const |
|
inline |
Definition at line 68 of file compactor.cc.
68 {
69 uword block_offset = old_addr & ~kBlockMask;
72 return (live_bitvector_ & (
static_cast<uword>(1) << first_unit_position)) !=
73 0;
74 }
constexpr intptr_t kBitsPerWord
static constexpr intptr_t kObjectAlignmentLog2
◆ Lookup()
uword dart::ForwardingBlock::Lookup |
( |
uword |
old_addr | ) |
const |
|
inline |
Definition at line 39 of file compactor.cc.
39 {
40 uword block_offset = old_addr & ~kBlockMask;
43 uword preceding_live_bitmask =
44 (
static_cast<uword>(1) << first_unit_position) - 1;
45 uword preceding_live_bitset = live_bitvector_ & preceding_live_bitmask;
48 return new_address_ + preceding_live_bytes;
49 }
static constexpr int CountOneBitsWord(uword x)
◆ new_address()
uword dart::ForwardingBlock::new_address |
( |
| ) |
const |
|
inline |
Definition at line 76 of file compactor.cc.
76{ return new_address_; }
◆ RecordLive()
void dart::ForwardingBlock::RecordLive |
( |
uword |
old_addr, |
|
|
intptr_t |
size |
|
) |
| |
|
inline |
Definition at line 56 of file compactor.cc.
56 {
60 }
61 uword block_offset = old_addr & ~kBlockMask;
64 live_bitvector_ |= ((
static_cast<uword>(1) << size_in_units) - 1)
65 << first_unit_position;
66 }
it will be possible to load the file into Perfetto s trace viewer disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font Indicates whether the embedding started a prefetch of the default font manager before creating the engine run In non interactive keep the shell running after the Dart script has completed enable serial On low power devices with low core running concurrent GC tasks on threads can cause them to contend with the UI thread which could potentially lead to jank This option turns off all concurrent GC activities domain network JSON encoded network policy per domain This overrides the DisallowInsecureConnections switch Embedder can specify whether to allow or disallow insecure connections at a domain level old gen heap size
◆ set_new_address()
void dart::ForwardingBlock::set_new_address |
( |
uword |
value | ) |
|
|
inline |
The documentation for this class was generated from the following file: