On Tue, 20 Aug 2024 04:53:18 GMT, Chen Liang <li...@openjdk.org> wrote:
> StackCounter was adding return type slots before deducting receiver slot, so > code like > > int b() { return this.hashCode(); } > > will be counted as having a max stack of 2. Avoid this problem by only > calling `addStackSlot` once for each instruction. Integrating as this is more serious and affects subsequent fixes. ------------- PR Comment: https://git.openjdk.org/jdk/pull/20637#issuecomment-2299035354