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

C2: Downcast receiver to target holder during inlining

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved
    • P3
    • Resolution: Fixed
    • 17
    • 17
    • hotspot
    • b25

    Description


      Support the following case:

      src/hotspot/share/opto/doCall.cpp:
          if (receiver_type == NULL || !receiver_type->higher_equal(mr_type)) {
            // Calling this method would include an implicit cast to its holder.
            // %%% Not yet implemented. Would throw minor asserts at present.
            // %%% The most common wins are already gained by +UseUniqueSubclasses.
            // To fix, put the higher_equal check at the call of this routine,
            // and add a CheckCastPP to the receiver.

      Attachments

        Issue Links

          Activity

            People

              vlivanov Vladimir Ivanov
              vlivanov Vladimir Ivanov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: