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

Remove develop flag DelayCompilationDuringStartup

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 13
    • Fix Version/s: 13
    • Component/s: hotspot
    • Subcomponent:
    • Resolved In Build:
      b03

      Description

      DelayCompilationDuringStartup is unused, untested and doesn't appear to be useful. The default value of true implies compilation will be delayed until the "main application class" is loaded, but that is no longer the case.

      Running fastdebug with -XX:+TraceBytecodes -XX:+TraceCompilationPolicy it's clear that calling SystemProps::nativeProperties calls CompilationPolicy::completed_vm_startup, and since this is roughly the 4000th bytecode executed the "delay" is effectively non-existent as implemented and thus not useful.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                redestad Claes Redestad
                Reporter:
                redestad Claes Redestad
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: