Skip to content

Commit

Permalink
Fix hash_mask_in_place in ClhsdbLongConstant test
Browse files Browse the repository at this point in the history
  • Loading branch information
rkennke committed Aug 22, 2024
1 parent 1578ffa commit 7009e14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/hotspot/jtreg/serviceability/sa/ClhsdbLongConstant.java
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,12 @@ private static void checkForTruncation(String longConstantOutput) throws Excepti
// ...
// longConstant VM_Version::CPU_SHA 17179869184
// longConstant markWord::age_shift 3
// longConstant markWord::hash_mask_in_place 549755813632
// longConstant markWord::hash_mask_in_place 4398046509056
// ...

checkLongValue("markWord::hash_mask_in_place",
longConstantOutput,
Platform.is64bit() ? 549755813632L: 4294967168L);
Platform.is64bit() ? 4398046509056L: 4294967168L);

String arch = System.getProperty("os.arch");
if (arch.equals("amd64") || arch.equals("i386") || arch.equals("x86")) {
Expand Down

0 comments on commit 7009e14

Please sign in to comment.