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

Make connector become virtual-thread friendly

    XMLWordPrintable

Details

    • Task
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Fixed
    • None
    • 3.3.0
    • performance
    • None

    Description

      Since java now permits virtual threads, Connector is mostly compatible with those, but there is a few places where connector with synchronize use that will prevent virtual thread to be use with maximum speed.

      Like java did internally with BufferedInputStream, BufferedOutputStream, BufferedReader, BufferedWriter, PrintStream, and PrintWriter modified to use an explicit lock rather than a monitor when used directly. Driver default implementation ReadAheadBufferedStream must use explicit lock.

      Attachments

        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:
              Resolved:

              Git Integration

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