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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • 6
    • Affects Version/s: 1.5.1
    • Component/s: 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.

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: