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

LogCompilation doesn't reset lateInlining when it encounters a failure.

XMLWordPrintable

    • b14
    • generic
    • generic

      here is the stacktrace.

      ➜ LogCompilation git:(master) ✗ java -jar ./target/LogCompilation-1.0-SNAPSHOT.jar jit.xml
      java.lang.InternalError: Unexpected method mismatch during late inlining (method at call site: java.util.LinkedHashMap$LinkedHashIterator::hasNext (13 bytes), method being parsed: java.util.AbstractCollection::addAll (42 bytes)) at 29018:56
      at com.sun.hotspot.tools.compiler.LogParser.reportInternalError(LogParser.java:643)
      at com.sun.hotspot.tools.compiler.LogParser.reportInternalError(LogParser.java:623)
      at com.sun.hotspot.tools.compiler.LogParser.startElement(LogParser.java:1224)
      at java.xml/com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:518)
      at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:1407)
      at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2726)
      at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:605)
      at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:542)
      at java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:889)
      at java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:825)
      at java.xml/com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
      at java.xml/com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1224)
      at java.xml/com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:637)
      at java.xml/com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(SAXParserImpl.java:326)
      at com.sun.hotspot.tools.compiler.LogParser.parse(LogParser.java:706)
      at com.sun.hotspot.tools.compiler.LogParser.parse(LogParser.java:684)
      at com.sun.hotspot.tools.compiler.LogCompilation.main(LogCompilation.java:145)
      Exception in thread "main" java.lang.InternalError: only nmethods should have a null compilation, here's a class com.sun.hotspot.tools.compiler.UncommonTrapEvent
      at com.sun.hotspot.tools.compiler.LogParser.parse(LogParser.java:723)
      at com.sun.hotspot.tools.compiler.LogParser.parse(LogParser.java:684)
      at com.sun.hotspot.tools.compiler.LogCompilation.main(LogCompilation.java:145)

            thartmann Tobias Hartmann
            xliu Xin Liu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: