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

[JVMCI] crash when materializing boxed values under -Xcomp

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b28

      Backports

        Description

        #
        # A fatal error has been detected by the Java Runtime Environment:
        #
        # Internal Error (deoptimization.cpp:798), pid=26877, tid=8195
        # guarantee(ik->is_initialized()) failed: java/lang/Character$CharacterCache must be initialized
        #

        The above crash can happen when JVMCI compiled code escape analyzes a boxed char and needs to materialize it when deoptimizing the compiled code. The problem occurs when the caching class (java/lang/Character$CharacterCache in this case) has not been initialized. In normal execution where code is first interpreted and then compiled, this should never happen as the class will be initialized during interpretation. However, with `-XX:-TieredCompilation -Xcomp` it's possible for class initialization to not be interpreted meaning that it has to be done before the compiled code is executed.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                dnsimon Douglas Simon
                Reporter:
                dnsimon Douglas Simon
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: