Merge ~vpa1977/ubuntu/+source/openjdk-21:lp2003820-native-debug into ubuntu/+source/openjdk-21:ubuntu/devel

Proposed by Vladimir Petko
Status: Merged
Merged at revision: 9433eae929c0ce56ec346e6bf2e7bab81ecf2ebc
Proposed branch: ~vpa1977/ubuntu/+source/openjdk-21:lp2003820-native-debug
Merge into: ubuntu/+source/openjdk-21:ubuntu/devel
Prerequisite: ~vpa1977/ubuntu/+source/openjdk-21:lp2011749-repack
Diff against target: 27 lines (+3/-2)
2 files modified
debian/changelog (+2/-1)
debian/rules (+1/-1)
Reviewer Review Type Date Requested Status
Steve Langasek (community) Approve
git-ubuntu import Pending
Review via email: mp+439118@code.launchpad.net

Description of the change

This is a final merge request of a series [1][2]

Summary of changes:
  *d/rules: use --with-debug-symbols=none (LP: #2003820).

PPA: ppa:vpa1977/openjdk-drop-patches [3]

Steps to test:
 sudo apt install openjdk-21-jdk openjdk-21-dbg
echo "public class infinite { public static void main(String[] args) { while (true){} } }" > infinite.java
/usr/lib/jvm/java-21-openjdk-amd64/bin/javac infinite.java
/usr/lib/jvm/java-21-openjdk-amd64/bin/java -cp . infinite&
[1] 37289
sudo /usr/lib/jvm/java-21-openjdk-amd64/bin/jhsdb jmap --heap --pid 37289
-----cut------------------------------------------------------
Attaching to process ID 37289, please wait...
Debugger attached successfully.
Server compiler detected.
JVM version is 21-ea+14-Ubuntu-0ubuntu1ppa1

using thread-local object allocation.
Garbage-First (G1) GC with 2 thread(s)

Heap Configuration:
   MinHeapFreeRatio = 40
   MaxHeapFreeRatio = 70
   MaxHeapSize = 1029701632 (982.0MB)
   NewSize = 1363144 (1.2999954223632812MB)
   MaxNewSize = 617611264 (589.0MB)
   OldSize = 5452592 (5.1999969482421875MB)
   NewRatio = 2
   SurvivorRatio = 8
   MetaspaceSize = 22020096 (21.0MB)
   CompressedClassSpaceSize = 1073741824 (1024.0MB)
   MaxMetaspaceSize = 17592186044415 MB
   G1HeapRegionSize = 1048576 (1.0MB)

Heap Usage:

-----------cut----------------------------------------------------

[1] https://code.launchpad.net/~vpa1977/ubuntu/+source/openjdk-21/+git/openjdk-21/+merge/439117
[2] https://code.launchpad.net/~vpa1977/ubuntu/+source/openjdk-21/+git/openjdk-21/+merge/439118
[3] https://launchpad.net/~vpa1977/+archive/ubuntu/openjdk-drop-patches

To post a comment you must log in.
Revision history for this message
Steve Langasek (vorlon) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/debian/changelog b/debian/changelog
2index c1d0379..010feec 100644
3--- a/debian/changelog
4+++ b/debian/changelog
5@@ -1,7 +1,8 @@
6-openjdk-21 (21~14ea~us1-0ubuntu1) UNRELEASED; urgency=medium
7+openjdk-21 (21~14ea~us1-0ubuntu1) lunar; urgency=medium
8
9 * OpenJDK 21 snapshot, Build 14.
10 * d/copyright, d/watch: implement uscan repackaging (LP: #2011749).
11+ * d/rules: use --with-debug-symbols=none (LP: #2003820).
12
13 -- Vladimir Petko <vladimir.petko@canonical.com> Fri, 17 Mar 2023 13:31:13 +1300
14
15diff --git a/debian/rules b/debian/rules
16index 34c2676..d6f964b 100755
17--- a/debian/rules
18+++ b/debian/rules
19@@ -514,7 +514,7 @@ COMMON_CONFIGURE_ARGS += \
20
21 COMMON_CONFIGURE_ARGS += \
22 --with-debug-level=release \
23- --with-native-debug-symbols=internal \
24+ --with-native-debug-symbols=none \
25 --enable-unlimited-crypto \
26 --with-zlib=system \
27 --with-giflib=system \

Subscribers

People subscribed via source and target branches