On Mon, 27 Apr 2026 09:44:20 GMT, Paul Hübner <[email protected]> wrote:

> Hi all,
> 
> This adds issues to all the TODOs in HotSpot code. 
> 
> I also evaluated whether `bool is_visited(const JvmtiHeapwalkObject& obj)` 
> can become `const`. The blocker is `_bitset.is_marked()`, which cannot be 
> made `const` since it calls an internal method that modifies fields. It does 
> not seem worth to work around this limitation, especially given that 
> `is_visited` does not exist in mainline.
> 
> Testing: tier1, GHA. 
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

This pull request has now been integrated.

Changeset: af54dff0
Author:    Paul Hübner <[email protected]>
URL:       
https://git.openjdk.org/valhalla/commit/af54dff033ee8f71367633be6a2ec83748cc37ae
Stats:     8 lines in 6 files changed: 3 ins; 0 del; 5 mod

8383387: [lworld] Address HotSpot TODOs

Reviewed-by: lfoltan

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

PR: https://git.openjdk.org/valhalla/pull/2368

Reply via email to