Skip to content

Commit f2f7a49

Browse files
author
Boris Ulasevich
committed
8365071: ARM32: JFR intrinsic jvm_commit triggers C2 regalloc assert
Reviewed-by: mgronlun
1 parent e04a310 commit f2f7a49

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
@@ -3275,7 +3275,7 @@ bool LibraryCallKit::inline_native_jvm_commit() {
32753275
lease_compare_io->init_req(_true_path, i_o());
32763276
lease_compare_io->init_req(_false_path, input_io_state);
32773277

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

32813281
RegionNode* result_rgn = new RegionNode(PATH_LIMIT);

0 commit comments

Comments
 (0)