Uploaded image for project: 'Harmony'
  1. Harmony
  2. HARMONY-5238

[drlvm][util] memory leak at compile_gen_compile_me at compile_ia32.cpp while EIOffice run

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.0M4
    • DRLVM
    • None
    • win32,
    • Patch Available

    Description

      svn = r600076

      While profiling a simple EIOffice application on Harmony using
      BoundsChecker the tool detected following memory leaks.

      "name" are not disposed 26214 times while EIOffice startup-shutdown.

      Here is stack trace:

      malloc f:\vs70builds\3077\vc\crtbld\crt\src\dbgheap.c 139

      compile_gen_compile_me vm\vmcore\src\util\ia32\base\compile_ia32.cpp 238
      name = (char *)STD_MALLOC(sz);
      assign_offsets_to_methods vm\vmcore\src\class_support\prepare.cpp 726
      prepare vm\vmcore\src\class_support\prepare.cpp 1227
      LoadVerifyAndPrepareClass vm\vmcore\src\class_support\classloader.cpp 382
      _resolve_class vm\vmcore\src\class_support\resolve.cpp 167
      _resolve_field vm\vmcore\src\class_support\resolve.cpp 418

      Attachments

        1. H-5238.patch
          0.5 kB
          Ilya Leviev

        Activity

          People

            gshimansky Gregory Shimansky
            ialeviev Ilya Leviev
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: