RFR: 8325326: compiler/codecache/TestStressCodeBuffers.java assertion on AIX

Goetz Lindenmaier goetz at openjdk.org
Wed Feb 14 12:05:04 UTC 2024


On Wed, 7 Feb 2024 09:41:29 GMT, Martin Doerr <mdoerr at openjdk.org> wrote:

> `relocate` should be called after the result of `address_constant` has been checked. Otherwise, we may run into "assert(allocates2(pc)) failed: relocation addr must be in this section". SAP internal tests have passed.

Hi,
as I understand, this is not only a fix, but by changing from allocate_* to constant_* it reuses entries in the oop_recorder.
I.e., if the same object is presented twice, the same index is returned now. Before, it had different indicees.
Is this intended?

-------------

PR Comment: https://git.openjdk.org/jdk/pull/17744#issuecomment-1943635488


More information about the hotspot-compiler-dev mailing list