Uploaded image for project: 'Harmony'
  1. Harmony
  2. HARMONY-5632 [drlvm][general] Serialization performance improvements
  3. HARMONY-5722

[classlib][luni][performance] ObjectInputStream/ObjectOutputStream can use optimized API for accessing fields

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.0M6
    • Classlib
    • None
    • Patch Available
    • Moderate

    Description

      For now, OIS and OOS use JNI stubs for accessing fields. It's bad for several reasons:
      a. infers a lot of JNI calls
      b. creates a lot of strings when looking up the field id.

      This issue moves setField/getField functionality to more optimized API.

      Attachments

        1. cl-ois-readfieldvalues-rc1.patch
          6 kB
          Aleksey Shipilev
        2. cl-OIS_OOS-reflection-rc1.patch
          46 kB
          Aleksey Shipilev
        3. cl-OIS_OOS-accessors-rc1.patch
          46 kB
          Aleksey Shipilev
        4. cl-OIS_OOS-accessors-rc2.patch
          46 kB
          Aleksey Shipilev
        5. cl-OIS_OOS-accessors-rc3.patch
          47 kB
          Aleksey Shipilev

        Issue Links

          Activity

            People

              tony.wu Tony Wu
              aleksey.shipilev Aleksey Shipilev
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: