RFR: 8314940: Use of NIO in JDKs Metrics implementation causes issues in GraalVM
Alan Bateman
alanb at openjdk.org
Thu Aug 24 13:40:28 UTC 2023
On Thu, 24 Aug 2023 13:16:16 GMT, Severin Gehwolf <sgehwolf at openjdk.org> wrote:
> Please review this rather trivial fix to not use `nio` in `CgroupUtil`, part of the
> JDK's Metrics API. The primary motivating factor is that it allows one to use the
> JDK's version of `Metrics` in GraalVM. See the bug for details as to why this is
> needed.
>
> Testing:
> - [x] GraalVM builds with/without the fix and the reproducer (fails before/works after)
> - [x] `jdk/internal/platform` jtreg tests on Linux x86_64 (cgv1).
> - [ ] GHA - still running
Something fishy here, is this working around a bug in GraaVM native image or why does this change need to be in JDK?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/15416#issuecomment-1691694592
More information about the serviceability-dev
mailing list