RFR: 8327049: Stop exporting debug.cpp functions on gcc

Julian Waters jwaters at openjdk.org
Thu Feb 29 13:34:52 UTC 2024


On Thu, 29 Feb 2024 12:50:33 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:

> This is a partial backout of [JDK-8326509](https://bugs.openjdk.org/browse/JDK-8326509). It turned out that starting to export the functions from debug.cpp could have unintended consequences in certain circumstances, so revert back to the original situation where these functions were only exported on Windows.

Wouldn't it be better to do WINDOWS_ONLY(JNIEXPORT) instead? Other than that, +1

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

Marked as reviewed by jwaters (Committer).

PR Review: https://git.openjdk.org/jdk/pull/18062#pullrequestreview-1908892931


More information about the hotspot-dev mailing list