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

Crash in Matcher::init_first_stack_mask() during production run

XMLWordPrintable

      After JDK-8354887 was integrated we hit strange failures which looks like memory stomps during our JCK testing of AOT new JEPs:

      # Internal Error (/workspace/open/src/hotspot/share/opto/regmask.hpp:222), pid=4186624, tid=4186658
      # assert(_RM_UP[i] == 0) failed: _hwm too low: 5 regs at: 4
      or

      # Internal Error (/workspace/open/src/hotspot/share/opto/type.cpp:996), pid=2832821, tid=2832868
      # fatal error: meet not symmetric
      or other strange issues during C2 compilation

      After investigating (running tests in loop) I narrowed down the issue to AOT caching of C2 runtime stubs:

      https://github.com/openjdk/jdk/blob/master/src/hotspot/share/opto/output.cpp#L3491

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

              Created:
              Updated: