Skip to content
This repository has been archived by the owner on Jul 17, 2024. It is now read-only.
/ jdk22u Public archive

Commit

Permalink
8328165: improve assert(idx < _maxlrg) failed: oob
Browse files Browse the repository at this point in the history
Backport-of: d57bdd85ab5e45a2ecfce0c022da067ac30bb80d
  • Loading branch information
MBaesken committed Mar 21, 2024
1 parent 5ff2b5d commit c90dd21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hotspot/share/opto/chaitin.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ class PhaseIFG : public Phase {
#endif

//--------------- Live Range Accessors
LRG &lrgs(uint idx) const { assert(idx < _maxlrg, "oob"); return _lrgs[idx]; }
LRG &lrgs(uint idx) const { assert(idx < _maxlrg, "oob: index %u not smaller than %u", idx, _maxlrg); return _lrgs[idx]; }

// Compute and set effective degree. Might be folded into SquareUp().
void Compute_Effective_Degree();
Expand Down

1 comment on commit c90dd21

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

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

Please sign in to comment.