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).

Thanks for  the review.

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

PR Comment: https://git.openjdk.org/valhalla/pull/2368#issuecomment-4333233956

Reply via email to