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

Significant slowing of network activity (possibly dns related) affecting jdbc

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 8u60
    • core-libs
    • x86
    • os_x

      FULL PRODUCT VERSION :
      build 1.8.0_60-b27

      ADDITIONAL OS VERSION INFORMATION :
      10.10.5

      A DESCRIPTION OF THE PROBLEM :
      I am running a Java SE Swing application which uses a mySQL JDBC driver for database connectivity. I can run the application from Eclipse and specify which JAVA SE is to be used for execution. I have noted a 30-80% significant slowdown of the application when it performs some network io as it does for jdbc access and determinig the computers own name using a command like :-

      clientname = InetAddress.getLocalHost().getHostName();

      The change in peformance is repeatable and is compared to the immediate prior release version 1.8.0_51

      Reverting to prior java corrects the problem.

      I noticed some references to network dns changes in 1.8.0_60 which might be relevant.

      REGRESSION. Last worked in version 8u51

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Timed updates to jdbc (mysql) database - however :-

      try
      {
      clientname = InetAddress.getLocalHost().getHostName().toLowerCase();
      } catch (Exception e)
      {
      clientname = "unknown";


      Takes longer on new JDK.


      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      Serious performance hit effecting jdbc driver.

      REPRODUCIBILITY :
      This bug can be reproduced always.

      CUSTOMER SUBMITTED WORKAROUND :
      Reverted to prior java

            psonal Pallavi Sonal (Inactive)
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: