Opened 12 years ago

Last modified 10 years ago

#915 new task

IZ630: Cache in Hostname class is useless

Reported by: rhierlmeier Owned by:
Priority: normal Milestone:
Component: hedeby Version: 1.0
Severity: Keywords: Sun util


[Imported from gridengine issuezilla]

        Issue #:      630          Platform:     Sun         Reporter: rhierlmeier (rhierlmeier)
       Component:     hedeby          OS:        All
     Subcomponent:    util         Version:      1.0            CC:    None defined
        Status:       NEW          Priority:     P3
      Resolution:                 Issue type:    TASK
                               Target milestone: 1.0u5next
      Assigned to:    rhierlmeier (rhierlmeier)
      QA Contact:     rhierlmeier
       * Summary:     Cache in Hostname class is useless
   Status whiteboard:

     Issue 630 blocks:
   Votes for issue 630:     Vote for this issue

   Opened: Mon Mar 9 08:22:00 -0700 2009 


   The Hostname class holds a cache for already resolved hosts. This cache reuses
   already resolved InetAddress objects. This cache is useless, because the
   InetAddress class itself has a cached. We should delete this cache.


   The issue has no visible effects on the code.

   Suggested Fix/Work Around

   Remove the cache from the Hostname class.


   In is
   described the caching of InetAddress objects.

   How to test

   A complete TS run is necessary to check that the system is with the fix stable.
   An automatic test is hard to achieve, because the hostname resolving on the
   running host must be changed.

   ATC:  nothing
   ETC:  1 PD
               ------- Additional comments from rhierlmeier Wed Nov 25 07:21:10 -0700 2009 -------
   Milestone changed

Change History (0)

Note: See TracTickets for help on using tickets.