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

constant pool of redefined class should be safe and high-performance -- make it append only

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 6
    • 1.5.1
    • hotspot
    • b76
    • generic
    • generic

        Currently each version of a class has its own constant pool (CP). This causes two serious problems:
        1) Inconsistent access can cause failure, see 5088035
        2) Severe performance problems on large redefines (tens of seconds):
        a) caused by required CP updates
        b) and causing equivalent methods to need new versions
        which, in turn need updates
        ###@###.### 10/3/04 23:59 GMT
        This bug consists of three parts:

        1) RFE for making constant pools append only; this work was
           done via 5088035
        2) fix stress related crashes in RedefineClasses ("safe" part)
        3) fix performance problems (simple changes only)

        Since #1 is handled by 5088035, I have changed this CR to a Defect
        from and RFE.

              dcubed Daniel Daugherty
              rfield Robert Field (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: