https://bz.apache.org/bugzilla/show_bug.cgi?id=57840
--- Comment #21 from Greg Woolsey <[email protected]> --- (In reply to Javen O'Neal from comment #14) > What's remaining before this bug can be closed: > * performance evaluation of any explicit boxing/unboxing to see if any speed > increase can be gained without adding complexity to the code. I found adding the VM parameter -XX:AutoBoxCacheMax=1048704 improved performance of my slow test by 12% (can't share it yet, waiting for approval of my sanitized version of proprietary data). That's SpreadsheetVersion.EXCEL2007.getMaxRows() + 128 (-127>0 are also cached by Integer). That forces Integer to cache all the values up to max rows. Obviously don't do this unless are are also setting the VM heap size larger too. Since POI already uses lots of memory for documents, this won't be a problem for people who need it. I think with that documentation note somewhere the autoboxing issue can be considered dealt with for now. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
