Bug 1390207
Summary: | [GSS] (6.4.z) Hibernate Scanner implementation class shouldn't leak application entity classes | ||
---|---|---|---|
Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Stephen Fikes <sfikes> |
Component: | JPA | Assignee: | Stephen Fikes <sfikes> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Martin Simka <msimka> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 6.4.8 | CC: | bmaxwell, jbilek, msochure, rstancel, scott.marlow, smarlow |
Target Milestone: | CR1 | ||
Target Release: | EAP 6.4.13 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
Cause:
A class loader is created and cached for each class/interface loaded by the Hibernate scanner while inspecting a deployment archive containing a persistence unit.
Consequence:
For large archives (containing many classes/interfaces), an exception may occur: java.lang.OutOfMemoryError: Metaspace
Fix:
A single loader will be used by the Hibernate deployment scanner, per-persistence unit
Result:
Reduced memory footprint (for metaspace)
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2017-02-03 16:43:24 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1386335 |
Description
Stephen Fikes
2016-10-31 14:00:24 UTC
Verified with EAP 6.4.13.CP.CR1 Released with EAP 6.4.13 on Feb 02 2017. |