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

Performance: java.lang.Class.isAssignable

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 6u2
    • 5.0u6
    • hotspot
    • b01
    • sparc
    • solaris_10

        The performance of java.lang.Class.isAssignable api in SUN's jdk1.5.0_06 build 05 lags behind the peformance of the same in JRockit's jdk1.5.0_06.

        The JRockit api takes 50% (or half) of the time that SUN's jdk1.5.0_06 takes, after the "warm-up". This was measured using a simple micro-benchmark that repeatedly called isAssignableFrom.

        Object.isAssignableFrom(Vector)

        The measurement was done on Solaris 10 on SPARC.

        Right now, I am filing this bug so that it's on the radar. I will be digging deeper for more details.

              jrose John Rose
              duke J. Duke
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: