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

InterpreterMacroAssembler::profile_virtual_call parameter 'receiver_can_be_null' is unused

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P5 P5
    • None
    • 26
    • hotspot
    • None

      InterpreterMacroAssembler::profile_virtual_call has a trailing 'receiver_can_be_null' parameter that triggers another code path in that function.

      However, this parameter has a default value of 'false' on most platforms (except PPC) and is not set explicitly when calling the method, or is always set to 'false' explicitly (PPC).

      In other words, this parameter and the code path that it triggers appear to be unused, and adding an assert that checks this doesn't seem to be triggered.

            Unassigned Unassigned
            jvernee Jorn Vernee
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: