RFR: 6960970: Debugger very slow during stepping [v3]

Serguei Spitsyn sspitsyn at openjdk.org
Tue Nov 25 22:57:32 UTC 2025


On Tue, 25 Nov 2025 20:33:48 GMT, Alex Menkov <amenkov at openjdk.org> wrote:

>> Serguei Spitsyn has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   review: fix typo in a EATests.java comment
>
> src/hotspot/share/prims/jvmtiThreadState.cpp line 707:
> 
>> 705:   for (int idx = 0; idx  < deopts->length(); idx++) {
>> 706:     int frame_number = deopts->at(idx);
>> 707:     deopts->remove_at(idx);
> 
> The code forward iterates the array removing the entries? it will skip every other element (indexes change after removal)

Nice catch, thanks! It is easy to forget about it. Fixed now.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/28407#discussion_r2561806700


More information about the hotspot-dev mailing list