JDK-2221039 : SA cannot open core files larger than 2GB on Linux 32-bit
  • Type: Backport
  • Backport of: JDK-6756451
  • Component: hotspot
  • Sub-Component: svc
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2012-02-09
  • Updated: 2013-08-06
  • Resolved: 2012-03-24
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6 Other
6u32Fixed hs23Fixed
EVALUATION The fix is to enable the 'Large File Support' by compiling libsaproc.so with -D_FILE_OFFSET_BITS=64. This is added to both agent/src/os/linux/Makefile (which builds SA from agent/make/) and make/linux/makefiles/saproc.make (which builds SA with Hotspot build). There is one more change with which SA should first load libraries from the path specified with SA_ALTROOT rather than loading from the paths embedded in the core file.