mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8153835: Fix range of flag MaxDirectMemorySize which is parsed at jlong
Changed MaxDirectMemorySize type to uint64_t and set max to max_jlong Reviewed-by: goetz, simonis
This commit is contained in:
parent
7d20b786fd
commit
41a3e98a61
2 changed files with 3 additions and 3 deletions
|
@ -3847,9 +3847,9 @@ public:
|
|||
\
|
||||
/* Properties for Java libraries */ \
|
||||
\
|
||||
product(size_t, MaxDirectMemorySize, 0, \
|
||||
product(uint64_t, MaxDirectMemorySize, 0, \
|
||||
"Maximum total size of NIO direct-buffer allocations") \
|
||||
range(0, (size_t)SIZE_MAX) \
|
||||
range(0, max_jlong) \
|
||||
\
|
||||
/* Flags used for temporary code during development */ \
|
||||
\
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue