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

Some InstanceKlass and MethodCounters fields can be excluded when JVMTI is not supported

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • hotspot
    • None
    • b120

      The following fields are only used by JVMTI:

      InstanceKlass::_breakpoints
      InstanceKlass::_previous_versions
      InstanceKlass::_cached_class_file
      InstanceKlass::_jvmti_cached_class_field_map
      MethodCounters::_number_of_breakpoints

      They can be excluded, along with related code, when INCLUDE_JVMTI==0. This will reduce both static and dynamic footprint for the minimal VM.

      This is part of the work for JDK-8138571. It was not explicitly listed, but these changes were included in the changeset for item #8 (JDK-8147978 ).

            cjplummer Chris Plummer
            cjplummer Chris Plummer
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: