Skip to content

Commit

Permalink
Align fake-oop in gtest
Browse files Browse the repository at this point in the history
  • Loading branch information
rkennke committed Feb 8, 2024
1 parent aa5e987 commit c7ddf82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/hotspot/gtest/gc/shared/test_preservedMarks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
// Class to create a "fake" oop with a mark that will
// return true for calls to must_be_preserved().
class FakeOop {
oopDesc _oop;
alignas(ObjectAlignmentInBytes) oopDesc _oop;

public:
FakeOop() : _oop() { _oop.set_mark(originalMark()); }
Expand Down

0 comments on commit c7ddf82

Please sign in to comment.