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

(ch) AbstractInterruptibleChannel creates excessive garbage

    Details

    • Subcomponent:
    • Resolved In Build:
      b59
    • CPU:
      generic, x86
    • OS:
      linux_redhat_3.0, windows_2000

      Backports

        Description

        Name: nt126004 Date: 03/14/2002


        FULL PRODUCT VERSION :
        java version "1.4.0"
        Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92)
        Java HotSpot(TM) Client VM (build 1.4.0-b92, mixed mode)

        FULL OPERATING SYSTEM VERSION :

        Microsoft Windows 2000 [Version 5.00.2195]

        A DESCRIPTION OF THE PROBLEM :
        AbstractInterruptibleChannel.blockedOn() invokes a method
        via reflection, requiring the allocation of an Object array
        for every invocation. This causes excessive garbage
        creation in high-activity NIO-based applications because
        the blockedOn() method is invoked twice for every call to
        select(), read() or write().

        This bug can be reproduced always.
        (Review ID: 144078)
        ======================================================================

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  sherman Xueming Shen
                  Reporter:
                  nthompsosunw Nathanael Thompson (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: