equal
deleted
inserted
replaced
387 { |
387 { |
388 if (FLAG_IS_DEFAULT(MaxDirectMemorySize)) { |
388 if (FLAG_IS_DEFAULT(MaxDirectMemorySize)) { |
389 PUTPROP(props, "sun.nio.MaxDirectMemorySize", "-1"); |
389 PUTPROP(props, "sun.nio.MaxDirectMemorySize", "-1"); |
390 } else { |
390 } else { |
391 char as_chars[256]; |
391 char as_chars[256]; |
392 jio_snprintf(as_chars, sizeof(as_chars), SIZE_FORMAT, MaxDirectMemorySize); |
392 jio_snprintf(as_chars, sizeof(as_chars), JULONG_FORMAT, MaxDirectMemorySize); |
393 PUTPROP(props, "sun.nio.MaxDirectMemorySize", as_chars); |
393 PUTPROP(props, "sun.nio.MaxDirectMemorySize", as_chars); |
394 } |
394 } |
395 } |
395 } |
396 |
396 |
397 // JVM monitoring and management support |
397 // JVM monitoring and management support |