Openjdk-8-jdk is a debug build
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openjdk-8 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The current openjdk-8-jdk package for Ubuntu 14.10 installs a version of java that reports "openjdk version 1.8.0_01-
This package should not contain a debug build, if at all a debug version should be in a separate package.
Expected: getting a normal production build to run Java programs for normal use.
Instead: II got a debug build that runs Java programs painfully slow (and probably with a lot of memory overhead although I did not check that).
silvio@mizuno:~$ lsb_release -rd
Description: Ubuntu Utopic Unicorn (development branch)
Release: 14.10
silvio@mizuno:~$ apt-cache policy openjdk-8-jdk
openjdk-8-jdk:
Installed: 8u20-b26-1ubuntu1
Candidate: 8u20-b26-1ubuntu1
Version table:
*** 8u20-b26-1ubuntu1 0
500 http://
100 /var/lib/
The general Debian/Ubuntu packaging process involves (ideally) a release build with debug symbols or a debug build, and then the debug symbols are split into a separate file that would be in -dbg. From what I can tell, this has happened already; the openjdk-8-dbg package install size is 136 MB. In the case of this package, it seems the built files are closer to a release build with debug symbols than a debug build. See https:/ /blogs. oracle. com/kto/ entry/mustang_ jdk_6_0_ fastdebug for more information on what fastdebug is.
That being said, it doesn't look like OpenJDK 7 was built with the fastdebug option, it may be why this is being exhibited now rather than before.