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

fix for annotation cache and RedefineClasses() conflict needs HotSpot changes

XMLWordPrintable

    • b82
    • generic
    • generic

        Fixing the following bug:

            6407335 3/4 (ann) java.lang.Class.getAnnotation() cache conflicts with
                        RedefineClasses()

        in an efficient manner requires HotSpot changes. A new field will be
        added to java.lang.Class:

            private transient long classRedefineCount;

        This field will be incremented by the JVM/TI RedefineClasses() API at the
        end of the redefinition for a particular class. The field for each subclass
        will also be incremented.

              dcubed Daniel Daugherty
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: