RFR: 8342380: Implement JEP 498: Warn upon Use of Memory-Access Methods in sun.misc.Unsafe [v3]
Jaikiran Pai
jpai at openjdk.org
Thu Nov 21 09:07:26 UTC 2024
On Mon, 18 Nov 2024 09:42:20 GMT, Alan Bateman <alanb at openjdk.org> wrote:
>> Change default value of the command line option --sun-misc-unsafe-memory-access from "allow" to "warn".
>
> Alan Bateman has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains six commits:
>
> - Merge branch 'master' into JDK-8342380
> - Merge branch 'master' into JDK-8342380
> - Update test
> - Merge branch 'master' into JDK-8342380
> - Update usage/man page
> - Initial commit
test/jdk/sun/misc/UnsafeMemoryAccessWarnings.java line 51:
> 49: @ValueSource(strings = {
> 50: "allocateMemory+freeMemory",
> 51: "objectFieldOffset+putLong+getLong"
Is the removal of `invokeCleaner` method name from these method names intentional?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/21762#discussion_r1851629738
More information about the core-libs-dev
mailing list