Skip to content

Commit

Permalink
Fix bit counts in GCForwarding
Browse files Browse the repository at this point in the history
  • Loading branch information
rkennke committed Aug 22, 2024
1 parent 5ffc582 commit eaec111
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/hotspot/share/gc/shared/gcForwarding.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@
* bits (to indicate 'forwarded' state as usual).
*/
class GCForwarding : public AllStatic {
static const int NumKlassBits = LP64_ONLY(markWord::klass_shift) NOT_LP64(0 /*unused*/);
static const int NumLowBitsNarrow = BitsPerWord - NumKlassBits;
static const int NumLowBitsNarrow = LP64_ONLY(markWord::klass_shift) NOT_LP64(0 /*unused*/);
static const int NumLowBitsWide = BitsPerWord;
static const int Shift = markWord::lock_bits + markWord::lock_shift;

Expand Down

0 comments on commit eaec111

Please sign in to comment.