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 is sysrouted FROM one or more of the following: APAR is sysrouted TO one or more of the following: Modules/Macros
|
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
(C) Copyright IBM Corporation 2000, 2006. All Rights Reserved.