PQ67474: PMIREGISTRY.ISALLLEVELNONE IS TOO EXPENSIVE

APAR status
Closed as program error.

Error description
The PmiRegistry.isAllLevelNone is called by
PmiBeanFactory.getPmiBean for every method preinvoke and
postinvoke. Its current implementation is expensive - not
suitable for the calling frequency.
   This is defect 151591.
Local fix Problem summary
****************************************************************
* USERS AFFECTED: WebSphere Application Server users of PMI    *
****************************************************************
* PROBLEM DESCRIPTION: The PmiRegistry.isAllLevelNone is       *
*                      called by PmiBeanFactory.getPmiBean     *
*                      for every method preinvoke and          *
*                      postinvoke. Its implementation in       *
*                      4.0.4 is expensive - not suitable for   *
*                      the calling frequency.                  *
****************************************************************
* RECOMMENDATION:                                              *
****************************************************************
The PmiRegistry.isAllLevelNone constructs lots of
PerfLevelDescriptor objects, therefore it is expensive. If it
is called occasionally, it is ok. However, it is actually
called by every method invocation when PMI is enabled.
Therefore, it will create many objects using memory and slowing
down the performance.
Problem conclusion
Detect if all levels are none whenever there is a level change
- level change happens infrequently because users
usually stick with a level setting they prefer. The
isAllLevelNone method simply returns a boolean which is
already set during the level change.
Temporary fix Comments
APAR information
APAR number PQ67474
Reported component name WAS AE LINUX/ZS
Reported component ID 5724B6108
Reported release 400
Status CLOSED PER
PE NoPE
HIPER NoHIPER
Submitted date 2002-10-22
Closed date 2002-12-18
Last modified date 2005-04-07

APAR is sysrouted FROM one or more of the following:

APAR is sysrouted TO one or more of the following:

Modules/Macros
PMI          

Fix information
Fixed component name WAS AE LINUX/ZS
Fixed component ID 5724B6108

Applicable component levels
R400 PSY    UP


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > General
Operating system(s):
Software version: 400
Software edition:
Reference #: PQ67474
IBM Group: Software Group
Modified date: Apr 7, 2005