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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 1.5.1
    • Fix Version/s: 6
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b76
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        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.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  dcubed Daniel Daugherty
                  Reporter:
                  rfield Robert Field
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: