Andreas Wacknitz
2024-01-27 7184c705a6f58435e822ea9de28cfa06dcf7e46f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
This is originally derived from the pkgsrc-joyent set for openjdk11,
considerably modified. Cut from the jdk15 patches as of jdk15+32.
 
See also README-zero.txt for note on a project zero variant.
 
JDK 22 now switched to the jdk22 stabilisation repo
 
Issues known that indicate serious bugs, likely due to not integrating
loom correctly as they date back to that change.
* jshell doesn't work
* illuminate doesn't work
 
22+28, 22+29, 22+30, 22+31, 22+32
 
No changes.
 
22+27
 
Trivial patch noise
 
Switch to jdk22 stabilisation repo
 
22+26
 
Don't patch make/autoconf/spec.gmk.in any more, the variable added is
no longer used
 
os::scan_pages() has been removed
 
os::prepare_native_symbols() has been added, provide a no-op implementation
 
Cleanup: we always have dladdr1() on all supported releases, so don't
check for it or work around its potential absence
 
22+25
 
Revised illumos-pollerprovider.patch for signature change in
EPollPoller.implDeregister()
 
22+24
 
Trivial patch noise.
 
22+23
 
Signature change in DefaultPoller.java, the whole of Poller has been
reworked. As our DevPollPoller was a stub and never worked, delete and
replace with a copy of EPollPoller from Linux:
 
cp src/java.base/linux/classes/sun/nio/ch/EPoll* src/java.base/solaris/classes/sun/nio/ch
cp src/java.base/linux/classes/sun/nio/ch/EventFD.java src/java.base/solaris/classes/sun/nio/ch
cp src/java.base/linux/native/libnio/ch/EPoll.c src/java.base/solaris/native/libnio/ch/EPoll.c
 
See revised illumos-pollerprovider.patch
 
22+22
 
memTracker was moved from src/hotspot/share/services to
src/hotspot/share/nmt
 
22+21
 
Trivial patch noise
 
22+20
 
Larger changes to src/java.base/unix/native/libnet/net_util_md.c
 
Need to #include sys/filio.h in
src/java.base/unix/native/libnio/ch/Net.c so that FIONREAD is defined
 
22+19
 
Trivial patch noise.
 
22+18
 
Boot jdk bumped to 21
 
22+17
 
With the removal of ArrayAllocatorMallocLimit, don't patch
globals.hpp, and remove the comment-only hunk too.
 
os::numa_get_leaf groups signature change
 
22+15, 22+16
 
Trivial patch noise.
 
22+14
 
New function os::vm_min_address() needs an implementation. Provide a
very basic one.
 
22+13
 
Minor patch noise.
 
#include "utilities/checkedCast.hpp" in os_solaris.cpp
 
current_stack_base() and current_stack_size() have been merged into a
single current_stack_base_and_size()
 
As we make some use of the old functions, move them into os::Solaris,
and implement the new merged function by calling them.
 
22+12
 
Remove AttachListener::pd_set_flag()
 
22+11
 
Remove AttachListener::pd_find_operation()
Merge and delete tribblix-attachListener_solaris.patch
 
22+9, 22+10
 
Trivial patch noise.
 
22+8
 
Fix zero port; see Atomic and print_register_info change in jdk 21+23
 
Needed to add stubs for can_trim_native_heap() and trim_native_heap()
to os_solaris.inline.hpp
 
22+7
 
Trivial patch noise.
 
22+6
 
Trivial patch noise.
Dropped the old make/autoconf/lib-freetype.m4 patch, as it's
not relevant to us.
Fix format warning in print_memory_info()
 
22+4, 22+5
 
Trivial patch noise.
 
22+3
 
Minor patch noise.
 
22+2
 
Some patch noise, especially Awt2dLibraries.gmk and static linking.
 
22+1
 
No changes needed, identical to 21+26.
 
Build:
 
env PATH=/usr/bin:/usr/sbin:/usr/sfw/bin:/usr/gnu/bin bash ./configure \
--enable-unlimited-crypto --with-boot-jdk=/usr/jdk/instances/jdk21 \
--with-native-debug-symbols=none \
--with-toolchain-type=gcc \
--disable-dtrace \
--disable-warnings-as-errors \
--with-source-date=current \
--with-jobs=3 \
DATE=/usr/gnu/bin/date \
STRIP=/usr/gnu/bin/strip
 
env PATH=/usr/bin:/usr/sbin:/usr/sfw/bin:/usr/gnu/bin gmake all