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

(reflect) sun.reflect.MethodAccessorGenerator document should be more accurate

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • None
    • 1.4.1_03
    • core-libs

      OOME occurs in permheap in long run.

      CONFIGURATION :
        OS : Solaris
        JDK : 1.4.1_03(server)
       
      BEHAVIOR:
        When users execute servlet long time(a couple of days), OutOfMemoryError
        occurs in Perm Heap.

      USER INVESTIGATION:
        The applications are controled by JMX and communicate each other in RMI.
        The user specified -verbose:class or tried to output RMI log.
        According to the logs, RMI server side uses Reflection in order to start
        server instances. the user found out that a lot of
        GeneratedSerializationConstructorAccessorXX classes (XX is number)
        were created. Those classes are created automatically in
        sun.reflect.MethodAccessorGenerator.

        To create a lot of internal classes and -Xnoclassgc causes OOME in perm heap.

       REQUEST:
         Need more precise documentation in sun.reflect.MethodAccessorGenerator

            iris Iris Clark
            tbaba Tadayuki Baba (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: