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

(reflect) Class.getName() is a major performance bottleneck

XMLWordPrintable

        Repeated calls to Class.getName() have become a major bottleneck for a number of key applictions. The biggest issue is with spidermark, a web services benchmark: JAXB processing in spidermark makes heavy use of Proxy classes, which in turn make repeated calls to Class.getName(); spidermark spends 30% of its time in that method. The SunOne application server also has this issue because it uses Method objects in a number of hashtables, and the hashCode() method of the Method class contains 2 calls to Class.getName() -- accounting for 4% of the time spent running SPECjAppServer.

        This needs to be addressed for 1.4.2_03 and for 1.5.

              iris Iris Clark
              soaks Scott Oaks
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: