On Mon, 13 May 2024 10:30:43 GMT, Per Minborg <pminb...@openjdk.org> wrote:

> Some of the deprecated methods are very likely to be run in hot loops (e.g. 
> read/store operations). Unless we set 
> `--sun-misc-unsafe-memory-access=allow`, what would be the performance impact 
> on various platforms for these operations?

The intention is that there isn't any impact for the initial default ("allow"), 
and in the future "warn" after the first waning. If the "debug" value is used 
then there is a stack trace printed but that's not something for production use.

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

PR Comment: https://git.openjdk.org/jdk/pull/19174#issuecomment-2107279163

Reply via email to