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

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P3
    • tbd
    • Affects Version/s: 10
    • Component/s: hotspot

      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");

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

              Created:
              Updated: