Uploaded image for project: 'MariaDB Connector/J'
  1. MariaDB Connector/J
  2. CONJ-1369

performance improvement for new java implementation

    XMLWordPrintable

Details

    • New Feature
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • None
    • 4.0.0
    • None
    • None

    Description

      Java 9 to 17 features worth using to investigate and validate with JMH:

      • Integer.parseInt(CharSequence, from, to, radix) and the Long variant, added in 9.
      • Arrays.equals with ranges and Arrays.mismatch
      • Objects.checkIndex and checkFromIndexSize in the byte buffer: JIT-intrinsic bounds checks in place of hand-written guards.
      • InputStream.readNBytes/transferTo
      • ServiceLoader.stream() lets the codec and authentication plugin loaders filter on Provider.type() without instantiating every plugin on the classpath.

      Attachments

        Issue Links

          Activity

            People

              diego dupin Diego Dupin
              diego dupin Diego Dupin
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.