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

Generate stubs on demand

XMLWordPrintable

      JDK-8231349 describes the issue: we spend some time during VM startup generating intrinsics stubs (like CRC32) for methods which may be not use for running Java application.

      The solution for JDK-8231349 offloaded stubs used by C2 only to C2 runtime initialization in separate thread. But we may want to use some of these stubs in Interpreter and C1 generated code in a future.

      We need to add new mechanism to generate intrinsics stubs on demand when corresponding class is loaded (simplifies synchronization for stubs generation) or corresponding Java method is called (need special synchronization).

            Unassigned Unassigned
            kvn Vladimir Kozlov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: