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

sync methods on multi-processor machines too slow

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.1.6
    • 1.1.4, 1.1.5
    • hotspot
    • 1.1.6
    • x86, sparc
    • solaris_2.5.1, solaris_2.6
    • Not verified



      Name: rm29839 Date: 10/29/97


      On a multi-PE Solaris machine with native threads
      it is about *TEN* times slower to call a
      synchronized method that calling a regular method.
      Even if no two threads compete at all.

      For example, on a 4 PE machine, you can therefore
      expect a speedup of 4 divided by 10. It is hence
      faster to use a 1 PE machine with green threads.
      That cannot be true!

      My assumption is that you use regular Solaris
      OS mechanisms for the locking. Then you have
      at least two entries/extis from the kernel for
      each sync method.
      (Review ID: 14697)
      ======================================================================

            never Tom Rodriguez
            rmandelsunw Ronan Mandel (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: