< prev index next >

src/hotspot/share/asm/codeBuffer.hpp

Print this page
@@ -1,7 +1,7 @@
  /*
-  * Copyright (c) 1997, 2023, Oracle and/or its affiliates. All rights reserved.
+  * Copyright (c) 1997, 2024, Oracle and/or its affiliates. All rights reserved.
   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   *
   * This code is free software; you can redistribute it and/or modify it
   * under the terms of the GNU General Public License version 2 only, as
   * published by the Free Software Foundation.

@@ -207,11 +207,11 @@
      assert(p <= locs_limit(), "locs data fits in allocated buffer");
      _locs_end = p;
    }
    void    set_locs_point(address pc) {
      assert(pc >= locs_point(), "relocation addr may not decrease");
-     assert(allocates2(pc),     "relocation addr must be in this section");
+     assert(allocates2(pc),     "relocation addr " INTPTR_FORMAT " must be in this section from " INTPTR_FORMAT " to " INTPTR_FORMAT, p2i(pc), p2i(_start), p2i(_limit));
      _locs_point = pc;
    }
  
    void register_skipped(int size) {
      _skipped_instructions_size += size;
< prev index next >