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

ClassLoaderData::print_on should print address of class loader

    XMLWordPrintable

Details

    • b07

    Backports

      Description

        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`.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved: