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

The ClassLoaderData::_is_unsafe_anonymous field is unused in the SA

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 15
    • None
    • hotspot
    • None
    • b16


      The SA doesn't call this function, so doesn't use the field exported from the ClassLoaderData:

      - public boolean getisUnsafeAnonymous() {
      - return isUnsafeAnonymousField.getValue(this) != 0;
      - }
      -
      This should be removed. This information is available in gdb and doesn't require SA access.

      This is being changed by the upcoming hidden classes work.

            coleenp Coleen Phillimore
            coleenp Coleen Phillimore
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: