Remove javaClasses offset tests

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 15
    • Affects Version/s: None
    • Component/s: hotspot
    • b02

      There are a few tests that offsets have been initialized in javaClasses, e.g:

      bool java_lang_ClassLoader::parallelCapable(oop class_loader) {
        if (parallelCapable_offset == -1) {
           // Default for backward compatibility is false
           return false;
        }
         return (class_loader->obj_field(parallelCapable_offset) != NULL);
      }

      Assumedly these are backwards compatibility precautions relevant in the era of hsx. All cases can now be removed or turned into assertions.

            Assignee:
            Claes Redestad
            Reporter:
            Claes Redestad
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: