git: openjdk/jdk11u-dev: 8224624: Inefficiencies in CodeStrings::add_comment cause timeouts

SendaoYan syan at openjdk.org
Fri Nov 8 15:27:10 UTC 2024


Changeset: 96805ae9
Branch: master
Author:    SendaoYan <syan at openjdk.org>
Date:      2024-11-08 15:25:04 +0000
URL:       https://git.openjdk.org/jdk11u-dev/commit/96805ae97b5153b48d5fa5d1dac99a3763f9cde9

8224624: Inefficiencies in CodeStrings::add_comment cause timeouts

Changing CodeStrings to a doubly-linked-list and searching for the comment with the right offset in reverse.

Backport-of: 7cff981f5a3aa192e57545c7df069fb48ba69edf

! src/hotspot/share/asm/codeBuffer.cpp
! src/hotspot/share/asm/codeBuffer.hpp



More information about the jdk-updates-changes mailing list