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

Generate VMVersion::_futures_string lazily

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Unresolved
    • P4
    • tbd
    • 19
    • hotspot

    Description

      JDK-8283199 shows that _futures_string initialization affects JVM startup. The point measures show it takes about 50 microseconds after JDK-8283199 with existing sysfs file, and about 100 microseconds with non-existing one. The more bullet-proof way would be to avoid generating the _futures_string on startup altogether. It looks like this string is only used during error reporting, and we already read /proc and /sys on those error handling paths.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              shade Aleksey Shipilev
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: