Bug 529000 - [Performance] Issue related to JMXServerPlatformBase
Summary: [Performance] Issue related to JMXServerPlatformBase
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-20 05:35 EST by Tobias Stamann CLA
Modified: 2022-06-09 10:05 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Stamann CLA 2017-12-20 05:35:43 EST
In JBoss we detected some performance issues related to the creation of a database connection.
We detected that a "getMBeanCount" operation was invoced by eclipselink.
This is a very expensive operation in JBoss.

I have checked the eclipselink implementation that invoced that operation.
It's in org.eclipse.persistence.platform.server.JMXServerPlatformBase.getMBeanServer()

This operation is just used to generate some debug logging output.

So it would be great, if either the log statements will be wrapped inside some kind of isLoggingEnabled if statement or the mbean count gets removed at all.
Comment 1 Eclipse Webmaster CLA 2022-06-09 10:05:31 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink