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

C1 code cleanup

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 18
    • 17
    • hotspot
    • b05

      While skimming C1 code, I found a lot of useless/invalid/unimplemented code, they can be harmless removed.

      - Unused IntInterval in type hierarchy
      - Unused MethodDataConstant in type hierarchy
      - Unused MethodDataType in type hierarchy
      - Unused LIRGenerator::maybe_mask_boolean after JDK-XXX...
      - Unused is_*_stub() **virtual methods** in CodeStub
      - Unused start_block and bind_block_entry declarations in c1_LIRGenerator.hpp
      - Residual do_ClassIDIntrinsic declarations in c1_LIRGenerator.hpp
      - Meet/join are never implemented
      - LIRTracePeephole does nothing, also its name is confusing
      - Directly define inline functions in c1_ValueSet.hpp and remove c1_ValueSet.inline.hpp and c1_ValueSet.cpp files
      - Duplicated Compilation::count_invocations() and Compilation::count_backedges()
      - Remove c1_Defs.cpp
      - Remove lir_backwardbranch_target

            yyang Yi Yang
            yyang Yi Yang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: