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

Proposed by Vladimir Petko
Status: Merged
Merged at revision: f663193410a4f13ca0070057f988e590ebb8c8c0
Proposed branch: ~vpa1977/ubuntu/+source/openjdk-20:lp2003820-native-debug
Merge into: ubuntu/+source/openjdk-20:ubuntu/devel
Prerequisite: ~vpa1977/ubuntu/+source/openjdk-20:lp2011653-drop-patches
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+439108@code.launchpad.net

Description of the change

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

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

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

Steps to test:

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

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)
-----------cut----------------------------------------------------

[1] https://code.launchpad.net/~vpa1977/ubuntu/+source/openjdk-20/+git/openjdk-20/+merge/439107
[2] https://code.launchpad.net/~vpa1977/ubuntu/+source/openjdk-20/+git/openjdk-20/+merge/439108
[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 6dc0e92..b35209d 100644
3--- a/debian/changelog
4+++ b/debian/changelog
5@@ -1,7 +1,8 @@
6-openjdk-20 (20~36ea~us1-0ubuntu2) UNRELEASED; urgency=medium
7+openjdk-20 (20~36ea~us1-0ubuntu2) lunar; urgency=medium
8
9 * d/p: drop obsolete patches (LP: #2011653).
10 - generated-headers.patch: include is already added by openjdk makefile.
11+ * d/rules: use --with-debug-symbols=none (LP: #2003820).
12
13 -- Vladimir Petko <vladimir.petko@canonical.com> Thu, 16 Mar 2023 16:59:11 +1300
14
15diff --git a/debian/rules b/debian/rules
16index fcb252c..4fc6045 100755
17--- a/debian/rules
18+++ b/debian/rules
19@@ -512,7 +512,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