FULL PRODUCT VERSION : Java HotSpot(TM) Server VM (1.5.0_12-b04) for linux-x86, built on May 2 2007 02:13:16 by java_re with gcc 3.2.1-7a (J2SE release) ADDITIONAL OS VERSION INFORMATION : Linux 2.6.9-55.0.2.ELsmp #1 SMP Tue Jun 12 17:58:20 EDT 2007 x86_64 libc:glibc 2.3.4 NPTL 2.3.4 A DESCRIPTION OF THE PROBLEM : Even though MemoryPoolMXBean.setUsageThreshold() accepts a long argument, attempting to set to a large value (for example a very large heap) on a 64-bit OS but using a 32-bit VM results in: java.lang.IllegalArgumentException: Invalid threshold value > max value of size_t at sun.management.MemoryPoolImpl.setUsageThreshold0(Native Method) at sun.management.MemoryPoolImpl.setUsageThreshold(MemoryPoolImpl.java:122) ERROR MESSAGES/STACK TRACES THAT OCCUR : ava.lang.IllegalArgumentException: Invalid threshold value > max value of size_t at sun.management.MemoryPoolImpl.setUsageThreshold0(Native Method) at sun.management.MemoryPoolImpl.setUsageThreshold(MemoryPoolImpl.java:122) REPRODUCIBILITY : This bug can be reproduced always.
|