Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 364167 - Performance Improvement - Only create XMLInputFactory when needed on JAXBUnmarshaller
Summary: Performance Improvement - Only create XMLInputFactory when needed on JAXBUnma...
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-18 10:22 EST by Blaise Doughan CLA
Modified: 2022-06-09 10:18 EDT (History)
1 user (show)

See Also:


Attachments
MOXy - Fix (2.3.2) (2.25 KB, patch)
2011-11-18 10:52 EST, Blaise Doughan CLA
no flags Details | Diff
MOXy - Fix (trunk) (2.56 KB, patch)
2011-11-18 10:52 EST, Blaise Doughan CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Blaise Doughan CLA 2011-11-18 10:22:42 EST
Currently an instance of XMLInputFactory is always created on JAXBUnmarshaller even when one is not needed.  The code should be enhanced to create this object on demand.
Comment 1 Blaise Doughan CLA 2011-11-18 10:52:27 EST
Created attachment 207227 [details]
MOXy - Fix (2.3.2)
Comment 2 Blaise Doughan CLA 2011-11-18 10:52:45 EST
Created attachment 207228 [details]
MOXy - Fix (trunk)
Comment 3 Blaise Doughan CLA 2011-11-18 11:06:34 EST
Fix checked into 2.3.2 at rev:  10421
Fix checked into trunk at rev:  10422

Code reviewed by:  Matt MacIvor

Fix Details:
Now XMLInputFactory is only created when required.
Comment 4 Eclipse Webmaster CLA 2022-06-09 10:16:14 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink
Comment 5 Eclipse Webmaster CLA 2022-06-09 10:18:54 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink