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

Minimize JNI upcalls in system-properties initialization

    Details

    • Subcomponent:
    • Resolved In Build:
      b23
    • CPU:
      generic
    • OS:
      generic

      Description

      The code that initializes system properties, which is partly in the libraries
      (src/share/native/java/lang/System.c and the various java_props*.[ch] files)
      and partly in HotSpot, does (almost) one JNI upcall for each system property
      defined. Since JNI upcalls are relatively expensive we should explore ways of
      reorganizing the code in order to reduce them. The native code could, e.g.,
      pass a single big byte array up to the Java level, which could then decode that
      array in one operation.

      -- ###@###.### 2003/11/3

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rriggs Roger Riggs
                Reporter:
                mr Mark Reinhold
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: