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

ClassLoaderData::print_on should print address of class loader

XMLWordPrintable

    • b07

        ClassLoaderData::print_on prints the address of the handle holding the class loader rather than the class loader:

        out->print_cr(" - class loader " INTPTR_FORMAT, p2i(_class_loader.ptr_raw()));

        Rather than `ptr_raw` it should be calling `peek`.

              shade Aleksey Shipilev
              kbarrett Kim Barrett
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: