On Thu, 9 Jul 2026 12:53:35 GMT, Matthias Baesken <[email protected]> wrote:

> Currently we still link the jvm lib on Windows with psapi.
> But this seems to be unnecessary these days.
> If we want to use the older API, we can compile with -DPSAPI_VERSION=1 and 
> link psapi; but this is not done for hotspot.
> (btw it's done for some jdk libs :
> 
> https://github.com/openjdk/jdk/blob/6e5bfcc6450512b4b974ed4afa067547552a0847/make/modules/jdk.attach/Lib.gmk#L35
> https://github.com/openjdk/jdk/blob/6e5bfcc6450512b4b974ed4afa067547552a0847/make/modules/jdk.management/Lib.gmk#L35
> 
> but not in the hotspot build).
> 
> ---------
> - [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: 93d30d32
Author:    Matthias Baesken <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/93d30d3256ec7b807cb4ec6e4910dca17e993317
Stats:     23 lines in 4 files changed: 0 ins; 16 del; 7 mod

8387876: Remove psapi lib

Reviewed-by: clanger, lucy, kevinw

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

PR: https://git.openjdk.org/jdk/pull/31846

Reply via email to