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

Remove develop flag DelayCompilationDuringStartup

XMLWordPrintable

    • b03

      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.

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

              Created:
              Updated:
              Resolved: