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

Memory leaks. Lost Local ref on Toolkit thread in WmImeComposition.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 1.4.0
    • client-libs
    • None
    • beta2
    • x86
    • windows_nt

      This bug is an offshoot of work done for 4455106 and 4327621
      (SwingBasher crashes due to out of memory).

      > Leak in WmImeComposition (and in WmImeCompositionW as well) seems to
      > be owned by IM. Also, there are other leaks in those methods
      > (jsResultStrW, for example). I think that that leak is better
      > re-filed as a separate bug in classes_im.

      awt_Component.cpp

      MsgRouting AwtComponent::WmImeComposition(WORD wChar, long flags)
      {
      ...
          jstring jsMergedStrW =
               (jstring)JNU_CallMethodByName(env, NULL, jsResultStrW,
               "concat",
                      "(Ljava/lang/String;)Ljava/lang/String;",
               jsCompStrW).l;

      is not removed.

            naoto Naoto Sato
            ehawkessunw Eric Hawkes (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: