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

Remove symbolic constant badOopVal and macro definition badOop from globalDefinitions.hpp

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Unresolved
    • P3
    • tbd
    • 10
    • hotspot

    Description

      Questionable remaining use of badOopVal, potential for removal.

      share/utilities/globalDefinitions.hpp:const intptr_t badOopVal = -1; // generic "bad oop" value
      share/utilities/globalDefinitions.hpp:#define badOop (cast_to_oop(::badOopVal))
      share/code/compiledIC.cpp: assert (cache == NULL || cache != (Metadata*)badOopVal, "invalid metadata");

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              lfoltan Lois Foltan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: