Skip to content

Commit 159bbb6

Browse files
rmacnak-googleCommit Queue
authored andcommitted
[vm] Improve packing of Sample.
TEST=ci Change-Id: Iad37e5f7331d731f4bf0ec9978ac1d06dd8693d3 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/459640 Commit-Queue: Ryan Macnak <rmacnak@google.com> Reviewed-by: Alexander Aprelev <aam@google.com>
1 parent d9923e4 commit 159bbb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runtime/vm/profiler.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,8 +386,8 @@ class Sample {
386386
uword pc_array_[kPCArraySizeInWords];
387387
uword vm_tag_;
388388
uword user_tag_;
389-
uint32_t state_;
390389
Sample* next_;
390+
uint32_t state_;
391391
uint32_t allocation_identity_hash_;
392392

393393
using HeadSampleBit = BitField<decltype(state_), bool, 0, 1>;

0 commit comments

Comments
 (0)