| Summary: | Performance optimization for large inline binary text sections | ||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Blaise Doughan <blaise.doughan> | ||||||||||||||||||||
| Component: | Eclipselink | Assignee: | Nobody - feel free to take it <nobody> | ||||||||||||||||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||||||||||||||||
| Severity: | normal | ||||||||||||||||||||||
| Priority: | P3 | CC: | eclipselink.oxm-inbox | ||||||||||||||||||||
| Version: | unspecified | ||||||||||||||||||||||
| Target Milestone: | --- | ||||||||||||||||||||||
| Hardware: | PC | ||||||||||||||||||||||
| OS: | Windows XP | ||||||||||||||||||||||
| Whiteboard: | |||||||||||||||||||||||
| Attachments: |
|
||||||||||||||||||||||
|
Description
Blaise Doughan
Created attachment 196047 [details]
Core - Fix
Created attachment 196150 [details]
Core - Fix
Created attachment 196158 [details]
Core - Fix
Created attachment 196610 [details]
MOXy - Test Cases
Created attachment 196611 [details]
Core - Fix
Created attachment 196666 [details]
MOXy - Test Cases
Created attachment 196685 [details]
MOXy - Test Cases
Created attachment 196686 [details]
Core - Fix
Fix checked into trunk at rev: 9466 Code reviewed by Matt MacIvor Fix Description: - Added a call back on XMLReader that allows the implementor to obtain converted types from a CharSequence. This is an optimization that can be leveraged when supported by the underlying parser. - Introduced a new interface ExtendedContentHandler that extends ContentHandler with a new method characters(CharSequence) and modified all of MOXy's content handlers to implement this new interface. - Modified UnmarshalRecords handling of characters to cover both char[] and charSequence. - Added a new method (parseCharactersEvent) in XMLStreamReaderReader that allows users to override the handling of characters sections. - Enhanced StrBuffer to implement CharSequence Some outside tests through NPE with this fix. Created attachment 196792 [details]
Core - Fix (Phase 2)
Moved the special handling of CharSequence from UnmarshalRecord to XMLInlineBinaryHandler.
2nd part of fix checked into trunk at rev: 9472 The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink |