Uploaded image for project: 'Spring Framework'
  1. Spring Framework
  2. SPR-9781

ResourceDatabasePopulator incredibly slow on JDK 1.7.0_06 or newer

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.2
    • Fix Version/s: 3.1.3, 3.2 M2
    • Component/s: Data:JDBC
    • Labels:
    • Last commented by a User:
      true

      Description

      I get a signifcant speed regression using the ResourceDatabasePopulator to load database scripts, when I switch from oracle JDK 1.7.0_05 to 1.7.0_06 or _07 on Windows XP SP3. With JDK 1.7.0_05 the script loads in 337ms with 1.7.0_06 or newer it takes over 40000ms to load the same script.

      According to my tests the regression is located in the splitSqlScript(script, delimiter, statements) method.

        Attachments

          Activity

            People

            • Assignee:
              olivergierke Oliver Gierke
              Reporter:
              hygl Philipp Hügelmeyer
              Last updater:
              Chris Beams
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                5 years, 33 weeks, 1 day ago