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

double primitive looses value when using -client in 1.3.1_06

XMLWordPrintable

    • 08
    • x86
    • solaris_2

      The customer is seeing strange results for a double primitives when using the -hotsport option. Their app. contains a fair amount of inheritance. They are specifying the primitives as an argument to their constructors. After running their app for a few minutes they see these constructors getting very small values in the double primitives (1E-8). These double parameters normally have
      values in the 1000's.

      This problem is seen when running customer application on NT using Weblogic 6.1 SP3.

      The problem does not happen when using the -server option.

      The problem does not happen when using the .hotspot_compiler file to exculde one of their methords (ResPlanOrderDAO.createPlanOrders())

      I've attached the output from different runs of

      java -XX:+PrintCompilation -Xbatch -XX:-BackgroundCompilation

      JIT-Client.log -> output when using -client option. This run showed the problem.
      JIT-Server.log -> output when using -server. This did not have the problem.
      JIT-Client-exclude.log -> using -client w/ customer methord excluded No problem.


      ###@###.### 2002-12-18
      This failure is only reproduceable using the java -hotspot -Xcomp option.
      The following options seems to work.
      java -hotspot -Xint
      java -server -Xcomp
      java -server -Xint

            kbr Kenneth Russell (Inactive)
            arajadur Angelo Rajadurai
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: