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

No compiler replay file with CompilerCommand MemLimit

    XMLWordPrintable

Details

    • b22

    Backports

      Description

        When using the compiler memory limit with the crash suboption (e.g. `-XX:CompileCommand=MemLimit,*.*,1g~crash`), the JVM may fail to produce a replay file. We also may see partly corrupted hs-err files.

        This happens if the memlimit was caused by growing ResourceAreas, not the node arena (c2). During handling of the limit, as well as when producing the replay file, we also use ResourceArea (mainly to copy strings around). If those RA usages cause another Arena chunk to be allocated, we are in recursion and will abort replay generation or abort error handling altogether if a stack overflow happens.

        Attachments

          Issue Links

            Activity

              People

                stuefe Thomas Stuefe
                stuefe Thomas Stuefe
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: