XMLWordPrintable

    Details

    • Steps to Reproduce:
      Hide

      This can be tested quickly by generating collectible/unloadable classes such as by undeploying an application. Then forcing a GC will cause the unloading. Attached is a simple war that'll also force GC that can be used as a test case.

      1) Deploy bz1072993.war
      2) Request http://localhost:8080/bz1072993/
      3) Undeploy and redeploy bz1072993.war
      4) Request http://localhost:8080/bz1072993/ again

      After point 4, you should see a message like the following in console output without the fix:

      [Unloading class org.apache.jsp.index_jsp]

      This is no longer generated with the fix.

      Show
      This can be tested quickly by generating collectible/unloadable classes such as by undeploying an application. Then forcing a GC will cause the unloading. Attached is a simple war that'll also force GC that can be used as a test case. 1) Deploy bz1072993.war 2) Request http://localhost:8080/bz1072993/ 3) Undeploy and redeploy bz1072993.war 4) Request http://localhost:8080/bz1072993/ again After point 4, you should see a message like the following in console output without the fix: [Unloading class org.apache.jsp.index_jsp] This is no longer generated with the fix.
    • Release Notes Docs Status:
      Not Required
    • Docs QE Status:
      NEW
    • Bugzilla Update:
      Perform

      Description

      Unexpected log messages on stdout, maybe related to enabled GC logging.

      Fresh unzip of http://download.devel.redhat.com/devel/candidates/JBEAP/JBEAP-5.3.0.ER2/jboss-eap-noauth-5.3.0-ER2.zip ++ start application server ++ wait ~2 hours

      jboss-eap-5.3/jboss-as/bin/run.sh --host=localhost -c default
      
      [rsvoboda@steve 630ER2]$ java -version
      java version "1.6.0_45"
      Java(TM) SE Runtime Environment (build 1.6.0_45-b06)
      Java HotSpot(TM) 64-Bit Server VM (build 20.45-b01, mixed mode)
      
      ...
      13:33:56,713 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on http-localhost%2F127.0.0.1-8080
      13:33:56,731 INFO  [AjpProtocol] Starting Coyote AJP/1.3 on ajp-localhost%2F127.0.0.1-8009
      13:33:56,833 INFO  [ServerImpl] JBoss (Microcontainer) [5.3.0 (build: SVNTag=JBPAPP_5_3_0 date=201403010857)] Started in 17s:386ms
      [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor37]
      [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor25]
      [Unloading class sun.reflect.GeneratedConstructorAccessor73]
      [Unloading class sun.reflect.GeneratedConstructorAccessor6]
      [Unloading class sun.reflect.GeneratedConstructorAccessor82]
      [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor12]
      [Unloading class sun.reflect.GeneratedConstructorAccessor5]
      [Unloading class sun.reflect.GeneratedConstructorAccessor9]
      [Unloading class sun.reflect.GeneratedConstructorAccessor10]
      [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor46]
      [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor6]
      [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor34]
      [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor3]
      [Unloading class sun.reflect.GeneratedMethodAccessor225]
      [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor47]
      [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor11]
      [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor50]
      [Unloading class sun.reflect.GeneratedConstructorAccessor16]
      [Unloading class sun.reflect.GeneratedConstructorAccessor13]
      [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor52]
      [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor2]
      [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor32]
      [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor38]
      [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor13]
      [Unloading class sun.reflect.GeneratedConstructorAccessor85]
      [Unloading class sun.reflect.GeneratedConstructorAccessor47]
      [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor1]
      [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor44]
      [Unloading class sun.reflect.GeneratedConstructorAccessor79]
      [Unloading class sun.reflect.GeneratedConstructorAccessor50]
      [Unloading class sun.reflect.GeneratedConstructorAccessor57]
      [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor5]
      [Unloading class sun.reflect.GeneratedConstructorAccessor26]
      [Unloading class sun.reflect.GeneratedConstructorAccessor51]
      [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor48]
      [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor15]
      [Unloading class sun.reflect.GeneratedConstructorAccessor14]
      [Unloading class sun.reflect.GeneratedMethodAccessor247]
      [Unloading class sun.reflect.GeneratedConstructorAccessor28]
      [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor42]
      [Unloading class sun.reflect.GeneratedMethodAccessor224]
      [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor10]
      [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor17]
      [Unloading class sun.reflect.GeneratedConstructorAccessor15]
      [Unloading class sun.reflect.GeneratedMethodAccessor180]
      [Unloading class sun.reflect.GeneratedMethodAccessor252]
      [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor35]
      [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor4]
      [Unloading class sun.reflect.GeneratedMethodAccessor183]
      [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor7]
      [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor23]
      ...
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                aogburn Aaron Ogburn
                Reporter:
                rsvoboda Rostislav Svoboda
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: