Skip to content

Commit ba50817

Browse files
TomaszGawedaRob-HazelcastJackPGreen
authored
Add warning about JEP 498 (#1691)
Co-authored-by: Rob Swain <rob.swain@hazelcast.com> Co-authored-by: Jack Green <JackPGreen@Gmail.com>
1 parent e0a29f4 commit ba50817

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/modules/data-structures/pages/setting-data-format.adoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,4 +100,6 @@ hazelcast:
100100

101101
Keep in mind that you should have already enabled HD memory usage for your cluster. See the xref:storage:high-density-memory.adoc#configuring-high-density-memory-store[Configuring High-Density Memory Store section].
102102

103-
Note that `NATIVE` memory stores data in binary format. Maps stored in the HD memory store have to be deserialized before they can be queried. A best practice is to use on-heap memory for maps that will be frequently queried when possible.
103+
Note that `NATIVE` memory stores data in binary format. Maps stored in the HD memory store have to be deserialized before they can be queried. A best practice is to use on-heap memory for maps that will be frequently queried when possible.
104+
105+
NOTE: From JDK 24, Java gives a warning when using HD Memory due to https://openjdk.org/jeps/498[JEP 498]. To avoid this warning, add `--sun-misc-unsafe-memory-access=allow` to your xref:configuration:jvm-parameters.adoc[Java command] when launching Hazelcast.

0 commit comments

Comments
 (0)