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

SEGV in ciBlock::start_bci() with EA

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • hs19
    • hs19
    • hotspot
    • b06
    • generic, x86
    • generic, solaris_10
    • Not verified

        An other case similar to 6968368. BCEscapeAnalyzer::do_analysis() calls ciMethod::get_method_blocks() which calls constructor ciMethodBlocks. This constructor allocates GrowableArray elements on stack (thread local resource area):

        _blocks = new(_arena) GrowableArray<ciBlock *>(block_estimate);

        As result when the method recompiled without EA _blocks->_data is NULL.

              kvn Vladimir Kozlov
              kvn Vladimir Kozlov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: