Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6870537

IllegalArgumentException thrown while nsk/monitoring/stress/lowmem/lowmem020 test execution

XMLWordPrintable

    • svc
    • generic
    • generic

      IllegalArgumentException thrown while nsk/monitoring/stress/lowmem/lowmem020 test execution. The failure is intermetent. It was reproduced ones. Still can't reproduce again after 100 reruns. First time the issue was found with Java HotSpot(TM) Server VM (build 1.5.0_21-ea-b00, mixed mode). The issue is related to 6685021 where the same exception was found in JVM hs12/b02.

      07:47.48] ${JAVA} ${JAVA_OPTS} ${EXECUTE_CLASS} ${TEST_ARGS}
      [2009-08-10T22:07:47.48] # Actual: C:/jdk/jdk1.5.0_21/bin/java -server -Xmixed -XX:-ShowMessageBoxOnError nsk.monitoring.stress.lowmem.lowmem001 -testMode=server -memory=heap -jck12aDir=K:/stt/newroot/testsuites/150_master_ws/vm/jck/1.2 -jck122Dir=K:/stt/newroot/testsuites/150_master_ws/vm/jck/1.2.2 -monitoring=notification -threshold=collection -timeout=30
      [2009-08-10T22:07:47.48] javax.management.RuntimeMBeanException: RuntimeException thrown by the setAttribute javax.management.Attribute@126e85fmethod of the Dynamic MBean
      [2009-08-10T22:07:57.14] at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.setAttribute(DynamicMetaDataImpl.java:189)
      [2009-08-10T22:07:57.14] at com.sun.jmx.mbeanserver.MetaDataImpl.setAttribute(MetaDataImpl.java:206)
      [2009-08-10T22:07:57.14] at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.setAttribute(DefaultMBeanServerInterceptor.java:737)
      [2009-08-10T22:07:57.14] at com.sun.jmx.mbeanserver.JmxMBeanServer.setAttribute(JmxMBeanServer.java:722)
      [2009-08-10T22:07:57.14] at nsk.share.monitoring.Monitor.setLongAttribute(Monitor.java:417)
      [2009-08-10T22:07:57.14] at nsk.share.monitoring.MemoryMonitor.setCollectionThresholdOnServer(MemoryMonitor.java:1058)
      [2009-08-10T22:07:57.14] at nsk.share.monitoring.MemoryMonitor.updateCollectionThresholds(MemoryMonitor.java:979)
      [2009-08-10T22:07:57.14] at nsk.share.monitoring.MemoryMonitor.updateThresholds(MemoryMonitor.java:172)
      [2009-08-10T22:07:57.14] at nsk.share.monitoring.MemoryMonitor.handleNotification(MemoryMonitor.java:211)
      [2009-08-10T22:07:57.14] at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor$ListenerWrapper.handleNotification(DefaultMBeanServerInterceptor.java:1652)
      [2009-08-10T22:07:57.50] at sun.management.NotificationEmitterSupport.sendNotification(NotificationEmitterSupport.java:140)
      [2009-08-10T22:07:57.50] at sun.management.MemoryImpl.createNotification(MemoryImpl.java:172)
      [2009-08-10T22:07:57.50] at sun.management.MemoryPoolImpl$CollectionSensor.triggerAction(MemoryPoolImpl.java:301)
      [2009-08-10T22:07:57.50] at sun.management.Sensor.trigger(Sensor.java:120)
      [2009-08-10T22:07:57.50] Caused by: java.lang.IllegalArgumentException: Invalid threshold: 327680 > max (262144).
      [2009-08-10T22:07:57.50] at sun.management.MemoryPoolImpl.setCollectionUsageThreshold(MemoryPoolImpl.java:201)
      [2009-08-10T22:07:57.50] at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
      [2009-08-10T22:07:57.50] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      [2009-08-10T22:07:57.50] at java.lang.reflect.Method.invoke(Method.java:592)
      [2009-08-10T22:07:57.50] at sun.management.MXBeanSupport.setAttribute(MXBeanSupport.java:507)
      [2009-08-10T22:07:57.50] at sun.management.MXBeanSupport.setAttribute(MXBeanSupport.java:83)
      [2009-08-10T22:07:57.50] at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.setAttribute(DynamicMetaDataImpl.java:180)
      [2009-08-10T22:07:57.50] ... 13 more
      [2009-08-10T22:07:57.50] #>
      [2009-08-10T22:07:57.50] #> WARNING: switching log to verbose mode,
      [2009-08-10T22:07:57.50] #> because error is complained

            Unassigned Unassigned
            rkapshevsunw Roman Kapshevich (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: