Skip to content

Commit a92ac4e

Browse files
Boris UlasevichPaul Hohensee
authored andcommitted
8365071: ARM32: JFR intrinsic jvm_commit triggers C2 regalloc assert
Backport-of: f2f7a490c091734ae1aa6cd402a117acbc1c699e
1 parent 9953843 commit a92ac4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hotspot/share/opto/library_call.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3245,7 +3245,7 @@ bool LibraryCallKit::inline_native_jvm_commit() {
32453245
lease_compare_io->init_req(_true_path, i_o());
32463246
lease_compare_io->init_req(_false_path, input_io_state);
32473247

3248-
lease_result_value->init_req(_true_path, null()); // if the lease was returned, return 0.
3248+
lease_result_value->init_req(_true_path, _gvn.longcon(0)); // if the lease was returned, return 0L.
32493249
lease_result_value->init_req(_false_path, arg); // if not lease, return new updated position.
32503250

32513251
RegionNode* result_rgn = new RegionNode(PATH_LIMIT);

0 commit comments

Comments
 (0)