Skip to content

Commit

Permalink
Treat new warnings from Java compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
fniephaus committed Dec 5, 2023
1 parent 76068ce commit 87ba326
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ public abstract static class ConditionalJumpNode extends AbstractBytecodeNode {

@Child private FrameStackPopNode popNode = FrameStackPopNode.create();

@SuppressWarnings("this-escape")
protected ConditionalJumpNode(final CompiledCodeObject code, final int index, final int numBytecodes, final int offset) {
super(code, index, numBytecodes);
jumpSuccessorIndex = getSuccessorIndex() + offset;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3599,9 +3599,9 @@ private void warpLoopSetup() {
warpAlignMask = shl(1, warpAlignShift) - 1;
for (int i = 0; i <= warpAlignMask; i++) {
if (sourceMSB) {
warpBitShiftTable[i] = (int) (32 - shl(i + 1, warpSrcShift));
warpBitShiftTable[i] = 32 - shl(i + 1, warpSrcShift);
} else {
warpBitShiftTable[i] = (int) shl(i, warpSrcShift);
warpBitShiftTable[i] = shl(i, warpSrcShift);
}
}
}
Expand Down

1 comment on commit 87ba326

@TruffleSqueak-Bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Performance Report (87ba326)

Benchmarks ran on graalvm-jdk-21+35.1.

Steady (after 100 iterations)

Benchmark Name Min Geomean Median Mean Max Total (ms) Total (min)
Bounce 538 547 540.76 539 540.75 108152 1.8
CD 435 445 438.2 436 438.18 87639 1.46
DeltaBlue 272 474 404.09 396 402.41 80818 1.35
Havlak 1113 1164 1146.96 1152 1146.9 229392 3.82
Json 352 363 355.25 353 355.23 71049 1.18
List 292 303 292.62 292 292.61 58523 0.98
Mandelbrot 132 147 133.09 133 133.08 26617 0.44
NBody 249 266 252.45 250.5 252.42 50490 0.84
Permute 149 161 150.56 150 150.54 30111 0.5
Queens 233 249 234.27 234 234.26 46854 0.78
Richards 1229 1242 1232.69 1232 1232.69 246538 4.11
Sieve 163 175 164.18 164 164.17 32836 0.55
Storage 137 147 139.58 138 139.56 27916 0.47
Towers 197 221 201.12 201 201.1 40223 0.67
5491 5904 5685.79 5670.5 5683.9 1137158 18.95

87ba326-2-steady.svg

Warmup (first 100 iterations)

87ba326-3-warmup.svg

Please sign in to comment.