equal
deleted
inserted
replaced
400 { |
400 { |
401 if (FLAG_IS_DEFAULT(MaxDirectMemorySize)) { |
401 if (FLAG_IS_DEFAULT(MaxDirectMemorySize)) { |
402 PUTPROP(props, "sun.nio.MaxDirectMemorySize", "-1"); |
402 PUTPROP(props, "sun.nio.MaxDirectMemorySize", "-1"); |
403 } else { |
403 } else { |
404 char as_chars[256]; |
404 char as_chars[256]; |
405 jio_snprintf(as_chars, sizeof(as_chars), UINTX_FORMAT, MaxDirectMemorySize); |
405 jio_snprintf(as_chars, sizeof(as_chars), SIZE_FORMAT, MaxDirectMemorySize); |
406 PUTPROP(props, "sun.nio.MaxDirectMemorySize", as_chars); |
406 PUTPROP(props, "sun.nio.MaxDirectMemorySize", as_chars); |
407 } |
407 } |
408 } |
408 } |
409 |
409 |
410 // JVM monitoring and management support |
410 // JVM monitoring and management support |