Skip to content

Commit becc5d6

Browse files
author
duke
committedFeb 8, 2024
Automatic merge of jdk:master into master
2 parents 43f93c0 + 3d3a8f0 commit becc5d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/hotspot/share/asm/codeBuffer.hpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 1997, 2023, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 1997, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -209,7 +209,7 @@ class CodeSection {
209209
}
210210
void set_locs_point(address pc) {
211211
assert(pc >= locs_point(), "relocation addr may not decrease");
212-
assert(allocates2(pc), "relocation addr must be in this section");
212+
assert(allocates2(pc), "relocation addr " INTPTR_FORMAT " must be in this section from " INTPTR_FORMAT " to " INTPTR_FORMAT, p2i(pc), p2i(_start), p2i(_limit));
213213
_locs_point = pc;
214214
}
215215

0 commit comments

Comments
 (0)
Please sign in to comment.