|
| 1 | +This is originally derived from the pkgsrc-joyent set for openjdk11, |
| 2 | +considerably modified. Cut from the jdk15 patches as of jdk15+32. |
| 3 | + |
| 4 | +See also README-zero.txt for patches to build a project zero variant. |
| 5 | + |
| 6 | +Most patches -p0 |
| 7 | + |
| 8 | +JDK17: |
| 9 | + |
| 10 | +17-35 |
| 11 | + |
| 12 | +RC1, no changes |
| 13 | + |
| 14 | +17-29,17-30,17-31,17-32,17-33,17-34 |
| 15 | + |
| 16 | +No changes |
| 17 | + |
| 18 | +17-27,17-28 |
| 19 | + |
| 20 | +No changes. Packaged 17-28. |
| 21 | + |
| 22 | +17-26 |
| 23 | + |
| 24 | +First from the jdk17 stabilisation repository. Same changes as in the |
| 25 | +first jdk18 tag. |
| 26 | + |
| 27 | +Remove extended file io workaround, it's 32-bit only |
| 28 | + |
| 29 | +17-25 |
| 30 | + |
| 31 | +SecurityManager deprecation. Added suppression annotations (the way it |
| 32 | +was done for Windows), and cleaned up the line number noise. |
| 33 | + |
| 34 | +17-24 |
| 35 | + |
| 36 | +Line number noise. |
| 37 | + |
| 38 | +Clean up some of the compiler warnings. |
| 39 | + |
| 40 | +17-23 |
| 41 | + |
| 42 | +Line number noise. |
| 43 | + |
| 44 | +os::os_exception_wrapper signature; last argument is a JavaThread not |
| 45 | +a Thread. No impact as we don't actually use it. |
| 46 | + |
| 47 | +17-22 |
| 48 | + |
| 49 | +Signature of reserve_memory_special and pd_reserve_memory_special has |
| 50 | +changed to pass the page size. All we do is change the signature as |
| 51 | +it's a no-op on solaris. |
| 52 | + |
| 53 | +17-21 |
| 54 | + |
| 55 | +Line number noise. |
| 56 | + |
| 57 | +17-20 |
| 58 | + |
| 59 | +Quite a lot of changes this time around. |
| 60 | + |
| 61 | +No more aot, so remove patches for that. |
| 62 | + |
| 63 | +src/hotspot/share/cds/classListParser.cpp has moved to |
| 64 | +src/hotspot/share/cds/classListParser.cpp |
| 65 | + |
| 66 | +suspend/resume has been essentially gutted |
| 67 | + |
| 68 | +Assembler files are all .S not .s now; and the way it's called has |
| 69 | +changed, so we need to just forget about forcing the studio assembler |
| 70 | + |
| 71 | +Other changes made: |
| 72 | + |
| 73 | +Also removed solstudio, which also cleans up C_FLAG_REORDER |
| 74 | + |
| 75 | +Cleared out some of the sparc pieces |
| 76 | + |
| 77 | +Gutted ucrypto |
| 78 | + |
| 79 | +17-19 |
| 80 | + |
| 81 | +.mx.jvmci has gone, we don't need it anyway |
| 82 | + |
| 83 | +Boot jdk requirement bumped to 16. |
| 84 | +This triggers a lot of noisy |
| 85 | +"SIGSEGV happened inside stack but outside yellow and red zone." |
| 86 | +warnings during the build, but they appear harmless. |
| 87 | + |
| 88 | +17-18 |
| 89 | + |
| 90 | +Don't patch jib-profiles.js. We don't use this, there aren't any AIX |
| 91 | +entries, so putting ours in is a waste of effort. |
| 92 | + |
| 93 | +Remove the nbproject patches; they're either wrong or irrelevant, or both. |
| 94 | + |
| 95 | +The boolAtPut flag stuff is no more. The whole JVMFlag machinery has |
| 96 | +been reworked. Renamed to set_bool. |
| 97 | + |
| 98 | +Remove patching of JvmOverrideFiles.gmk when we then disable the |
| 99 | +patch later. |
| 100 | + |
| 101 | +17-17 |
| 102 | + |
| 103 | +No significant changes |
| 104 | + |
| 105 | +17-16 |
| 106 | + |
| 107 | +Some patch noise this time. Some of the SPARC-related noise simply |
| 108 | +removed. |
| 109 | + |
| 110 | +17-15 |
| 111 | + |
| 112 | +No changes this time |
| 113 | + |
| 114 | +17-14 |
| 115 | + |
| 116 | +Remove patch to c1_LIRAssembler.cpp as it's only for SPARC |
| 117 | +Maybe lir_pack/lir_unpack could go too? |
| 118 | + |
| 119 | +Tidied up Awt2dLibraries.gmk |
| 120 | + |
| 121 | +More centralization into os_posix: os::die() os::shutdown() os::abort() |
| 122 | + |
| 123 | +Tidy up some of the format noise |
| 124 | + |
| 125 | +17-13 |
| 126 | + |
| 127 | +Remove the patches for lib-X11.m4; they're actually for S10, so we |
| 128 | +don't want them anyway. And remove the patch to XRBackendNative.c |
| 129 | +related to it which is also an S10 fixup. |
| 130 | + |
| 131 | +os::fork_and_exec has been centralized |
| 132 | + |
| 133 | +MetaspaceShared::is_in_trampoline_frame() has been removed |
| 134 | + |
| 135 | +17-12 |
| 136 | + |
| 137 | +Remove saved_rbp_address_offset() from thread_solaris_x86.hpp |
| 138 | + |
| 139 | +There's also evidence of xattr support on some platforms having been |
| 140 | +added; it's not needed for the build so I've ignored it for now. |
| 141 | + |
| 142 | +17-11 |
| 143 | + |
| 144 | +Fix memTracker.hpp; signature changed |
| 145 | +Don't patch deoptimization.cpp, it was SPARC-specific |
| 146 | + |
| 147 | +17-10 |
| 148 | + |
| 149 | +No significant changes |
| 150 | + |
| 151 | +17-9 |
| 152 | + |
| 153 | +No significant changes |
| 154 | + |
| 155 | +17-8 |
| 156 | + |
| 157 | +Man os:: functions were centralized into os_posix.inline.hpp, so |
| 158 | +needed to remove our duplicates from os_solaris.inline.hpp and |
| 159 | +os_solaris.cpp. Mostly the central copy was identical, the only odd |
| 160 | +one was that the Solaris os::connect had some funky error handling |
| 161 | + |
| 162 | +17-7 |
| 163 | + |
| 164 | +CLOCK_MONOTONIC is now just on. |
| 165 | +Needed to remove os::supports_monotonic_clock() from os_solaris.inline.hpp |
| 166 | +Remove javaTimeMillis() and javaTimeSystemUTC() and javaTimeNanos() |
| 167 | +and javaTimeNanos_info() from os_solaris.cpp |
| 168 | +Parker::park and Parker::unpark no longer compile, park.hpp has been |
| 169 | +modified so we need to make sure _counter is present in |
| 170 | +os_solaris.hpp; that makes it compile but it then crashes the jvm in there |
| 171 | +The posix variant removed the guarantee in PlatformParker; we need to |
| 172 | +do the same, fix the signature, and provide an implementation. |
| 173 | +(The PlatformParker piece took a lot of effort.) |
| 174 | + |
| 175 | +17-6 |
| 176 | + |
| 177 | +we now have perfMemory_posix.cpp, so perfMemory_solaris.ccp should be |
| 178 | +removed or the build fails with multiply defined symbols |
| 179 | + |
| 180 | +17-5 |
| 181 | + |
| 182 | +make/CompileJavaModules.gmk has mostly been gutted; ignore our patch |
| 183 | +as it seem to build fine without |
| 184 | + |
| 185 | +os.cpp needs to include alloca.h, see illumos-port-11.patch |
| 186 | + |
| 187 | +17-4 |
| 188 | + |
| 189 | +src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/asm/Disassembler.java |
| 190 | +has been refactored, but the new version appears to do the same thing |
| 191 | +as we need in a platform-independent manner, so drop our patch |
| 192 | + |
| 193 | +17-3 |
| 194 | + |
| 195 | +make/common/Modules.gmk has been completely redone; remove our patch |
| 196 | + |
| 197 | +17-2 |
| 198 | + |
| 199 | +More memory stuff; pd_uncommit_memory pd_reserve_memory |
| 200 | +pd_attempt_reserve_memory_at have changed signatures, with an extra |
| 201 | +bool argument (that appears to be unused, at least linux and aix |
| 202 | +don't make any use of it; this appears to be a Mac thing) |
| 203 | + |
| 204 | +17-0/17-1 |
| 205 | + |
| 206 | +Quite a lot of refactoring of the toolchain stuff. |
| 207 | + |
| 208 | +The page_size rework is really quite massive. The old _page_sizes was |
| 209 | +an array you manipulated directly. It's now a set. This needs various |
| 210 | +changes: |
| 211 | + |
| 212 | +os::Solaris::is_valid_page_size() is just _page_sizes.contains() |
| 213 | + |
| 214 | +Not strictly broken, but easy to fix: in mpss_sanity_check, we can |
| 215 | +simplify the getpagesizes() stuff as we know we're modern |
| 216 | + |
| 217 | +Rework listing of valid page sizes |
| 218 | + |
| 219 | +This is a bit ugly because we don't really end up using the new |
| 220 | +_page_sizes, but instead emulate the old array. Still, I can't find |
| 221 | +examples of how the new way is supposed to work on any other platform. |
| 222 | + |
| 223 | +Also need to implement print_memory_mappings, as a no-op (like AIX is) |
| 224 | + |
| 225 | +That's enough to make it compile; it blows up with an arithmetic |
| 226 | +exception, apparently inside apply_ergo(). In mpss_sanity_check, we |
| 227 | +need to make sure page_size (which is really a pointer to |
| 228 | +_large_page_size) is initialized to the largest valid page size. |
| 229 | + |
| 230 | +Build: |
| 231 | + |
| 232 | +env PATH=/usr/bin:/usr/sbin:/usr/sfw/bin:/usr/gnu/bin bash ./configure \ |
| 233 | +--enable-unlimited-crypto --with-boot-jdk=/usr/jdk/instances/jdk16 \ |
| 234 | +--with-native-debug-symbols=none \ |
| 235 | +--with-toolchain-type=gcc \ |
| 236 | +--disable-dtrace \ |
| 237 | +--disable-warnings-as-errors \ |
| 238 | +--enable-deprecated-ports=yes \ |
| 239 | +--with-jobs=3 |
| 240 | + |
| 241 | +env PATH=/usr/bin:/usr/sbin:/usr/sfw/bin:/usr/gnu/bin gmake all |
0 commit comments