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

Memory leak in DirectivesParser::set_option_flag

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P5
    • 22
    • 11-pool, 17-pool, 21
    • hotspot
    • b21

    Description

      Direct leak of 28 byte(s) in 4 object(s) allocated from:
          #0 0x7fc5fb0b89cf in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69
          #1 0x7fc5f76b4a6f in os::malloc(unsigned long, MEMFLAGS, NativeCallStack const&) src/hotspot/share/runtime/os.cpp:654
          #2 0x7fc5f521ce77 in AllocateHeap(unsigned long, MEMFLAGS, NativeCallStack const&, AllocFailStrategy::AllocFailEnum) src/hotspot/share/memory/allocation.cpp:42
          #3 0x7fc5f521ce77 in AllocateHeap(unsigned long, MEMFLAGS, AllocFailStrategy::AllocFailEnum) src/hotspot/share/memory/allocation.cpp:52
          #4 0x7fc5f5fdaa58 in DirectivesParser::set_option_flag(JSON::JSON_TYPE, JSON::JSON_VAL*, DirectivesParser::key const*, DirectiveSet*) src/hotspot/share/compiler/directivesParser.cpp:318
          #5 0x7fc5f5fdc60d in DirectivesParser::set_option(JSON::JSON_TYPE, JSON::JSON_VAL*) src/hotspot/share/compiler/directivesParser.cpp:382
          #6 0x7fc5f6adcfac in JSON::parse_json_string(bool) src/hotspot/share/utilities/json.cpp:290
          #7 0x7fc5f6add9df in JSON::parse_json_object() src/hotspot/share/utilities/json.cpp:194
          #8 0x7fc5f6adeb4f in JSON::parse_json_array() src/hotspot/share/utilities/json.cpp:245
          #9 0x7fc5f6added7 in JSON::parse_json_value() src/hotspot/share/utilities/json.cpp:91
          #10 0x7fc5f6adef12 in JSON::parse() src/hotspot/share/utilities/json.cpp:56
          #11 0x7fc5f5fd9622 in DirectivesParser::DirectivesParser(char const*, outputStream*, bool) src/hotspot/share/compiler/directivesParser.cpp:142
          #12 0x7fc5f5fd9622 in DirectivesParser::parse_string(char const*, outputStream*) src/hotspot/share/compiler/directivesParser.cpp:61
          #13 0x7fc5f5fd9622 in DirectivesParser::parse_from_file_inner(char const*, outputStream*) src/hotspot/share/compiler/directivesParser.cpp:102
          #14 0x7fc5f5fd9622 in DirectivesParser::parse_from_file(char const*, outputStream*) src/hotspot/share/compiler/directivesParser.cpp:82
          #15 0x7fc5f5fb8fc2 in DCmd::parse_and_execute(DCmdSource, outputStream*, char const*, char, JavaThread*) src/hotspot/share/services/diagnosticFramework.cpp:409
          #16 0x7fc5f551694e in jcmd src/hotspot/share/services/attachListener.cpp:203
          #17 0x7fc5f55193be in attach_listener_thread_entry src/hotspot/share/services/attachListener.cpp:427
          #18 0x7fc5f55193be in attach_listener_thread_entry src/hotspot/share/services/attachListener.cpp:377
          #19 0x7fc5f67c67e8 in JavaThread::thread_main_inner() src/hotspot/share/runtime/javaThread.cpp:710
          #20 0x7fc5f67c6c1f in JavaThread::thread_main_inner() src/hotspot/share/runtime/javaThread.cpp:689
          #21 0x7fc5f67c6c1f in JavaThread::run() src/hotspot/share/runtime/javaThread.cpp:695
          #22 0x7fc5f806a2d5 in Thread::call_run() src/hotspot/share/runtime/thread.cpp:224
          #23 0x7fc5f76cd21f in thread_native_entry src/hotspot/os/linux/os_linux.cpp:740
          #24 0x7fc5faea7fd3 in start_thread nptl/pthread_create.c:442

      Attachments

        Issue Links

          Activity

            People

              jcking Justin King
              jcking Justin King
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: