Commit Graph

197 Commits

Author SHA1 Message Date
Jie Fu
15a9186db2 8300169: Build failure with clang-15
Reviewed-by: dholmes, prr
2023-01-18 10:32:00 +00:00
Kim Barrett
3e2314d082 8299254: Support dealing with standard assert macro
Reviewed-by: erikj, xuelei, dholmes, mikael
2023-01-05 19:49:01 +00:00
Aleksey Shipilev
fc616588c1 8294591: Fix cast-function-type warning in TemplateTable
Reviewed-by: ihse, coleenp
2022-11-21 07:22:56 +00:00
Magnus Ihse Bursie
7f587e5a5c 8296872: gtest is built with the build-jdk
Co-authored-by: Mikael Vidstedt <mikael@openjdk.org>
Reviewed-by: dholmes, mikael
2022-11-11 21:47:00 +00:00
Aleksey Shipilev
545021b18d 8294438: Fix misleading-indentation warnings in hotspot
Reviewed-by: ihse, dholmes, coleenp
2022-10-20 07:16:41 +00:00
Aleksey Shipilev
388a56e4c4 8294467: Fix sequence-point warnings in Hotspot
Reviewed-by: dholmes, thartmann, roland
2022-10-19 18:52:10 +00:00
Aleksey Shipilev
ceb5b08964 8294468: Fix char-subscripts warnings in Hotspot
Reviewed-by: dholmes, kbarrett
2022-10-19 18:51:14 +00:00
Jie Fu
f502ab85c9 8295435: Build failure with GCC7 after JDK-8294314 due to strict-overflow warnings
Co-authored-by: Aleksey Shipilev <shade@openjdk.org>
Reviewed-by: shade, ihse
2022-10-19 07:41:27 +00:00
Aleksey Shipilev
b06f1b149c 8294594: Fix cast-function-type warnings in signal handling code
Reviewed-by: dholmes, kbarrett
2022-10-18 08:45:28 +00:00
Magnus Ihse Bursie
7743345f6f 8294314: Minimize disabled warnings in hotspot
Co-authored-by: Aleksey Shipilev <shade@openjdk.org>
Reviewed-by: erikj, shade
2022-10-17 09:29:50 +00:00
Julian Waters
cb5771dc2a 8294006: Avoid hardcoding object file suffixes in make
Reviewed-by: erikj, ihse
2022-09-20 17:23:49 +00:00
Ioi Lam
ac05bc8605 8293293: Move archive heap loading code out of heapShared.cpp
Reviewed-by: erikj, coleenp
2022-09-02 23:47:48 +00:00
Julian Waters
1ed03d82b2 8292226: Prepare make for better Link Time Optimization support
Reviewed-by: ihse
2022-08-22 11:00:17 +00:00
Magnus Ihse Bursie
b4ab5fe1da 8288396: Always create reproducible builds
Reviewed-by: amenkov, ehelin
2022-06-28 09:00:45 +00:00
Kim Barrett
782ae3801c 8286262: Windows: Cleanup deprecation warning suppression
Reviewed-by: ihse, dholmes
2022-05-23 22:47:24 +00:00
Magnus Ihse Bursie
160eb2bd39 8284891: Fix typos in build system files
Reviewed-by: erikj
2022-04-14 19:33:28 +00:00
Mikael Vidstedt
a244051a8c 8283062: Uninitialized warnings in libgtest with GCC 11.2
Reviewed-by: jiefu, erikj
2022-03-14 18:37:41 +00:00
Magnus Ihse Bursie
95f198b2b1 8274980: Improve adhoc build version strings
Reviewed-by: shade, erikj
2022-02-14 10:31:42 +00:00
Thomas Stuefe
cab590517b 8280583: Always build NMT
Reviewed-by: shade, ihse, zgu
2022-01-27 09:18:17 +00:00
Stefan Karlsson
09f5235c65 8275405: Linking error for classes with lambda template parameters and virtual functions
Reviewed-by: ihse, pliden
2021-10-21 07:47:10 +00:00
Harold Seigel
1271fbf3d4 8248584: Enable CHECK_UNHANDLED_OOPS for Windows fastdebug builds
Reviewed-by: dholmes, erikj
2021-10-20 12:15:40 +00:00
Jie Fu
c55dd365e3 8275008: gtest build failure due to stringop-overflow warning with gcc11
Reviewed-by: dholmes, ihse
2021-10-11 10:51:39 +00:00
Aleksey Shipilev
181292d48c 8273801: Handle VMTYPE for "core" VM variant
Reviewed-by: dholmes, erikj
2021-09-16 08:25:43 +00:00
Yasumasa Suenaga
68b6e11e48 8270083: -Wnonnull errors happen with GCC 11.1.1
Reviewed-by: erikj, dlong, kbarrett
2021-07-10 05:01:23 +00:00
Yumin Qi
ee1e202bc3 8268821: Split systemDictionaryShared.cpp
Reviewed-by: erikj, ccheung, iklam
2021-06-28 23:20:28 +00:00
Patricio Chilano Mateo
2fd7943ec1 8256425: Obsolete Biased Locking in JDK 18
Reviewed-by: kvn, dholmes, dcubed, rrich
2021-06-24 18:54:41 +00:00
Vladimir Kozlov
694acedf18 8264805: Remove the experimental Ahead-of-Time Compiler
Reviewed-by: coleenp, erikj, stefank, iignatyev, dholmes, aph, shade, iklam, mchung, iveresov
2021-04-27 01:12:18 +00:00
Ioi Lam
95f0fd6c4d 8265696: Move CDS sources to src/hotspot/shared/cds
Reviewed-by: erikj, dholmes, stuefe
2021-04-23 04:13:02 +00:00
Yumin Qi
3820ab9e82 8236847: CDS archive with 4K alignment unusable on machines with 64k pages
Reviewed-by: iklam, stuefe, erikj, ihse
2021-03-11 16:49:24 +00:00
Aleksey Shipilev
edd27074af 8260408: Shenandoah: adjust inline hints after JDK-8255019
Reviewed-by: rkennke, ihse
2021-01-26 13:04:38 +00:00
Magnus Ihse Bursie
d21a0ea1ff 8258449: Move make/hotspot/symbols to make/data
Reviewed-by: erikj
2021-01-11 07:37:37 +00:00
Magnus Ihse Bursie
a3e1980c08 8256541: Sort out what version of awk is used in the build system
Reviewed-by: erikj
2020-11-30 16:35:02 +00:00
Coleen Phillimore
ba721f5f2f 8212879: Make JVMTI TagMap table concurrent
Co-authored-by: Kim Barrett <kbarrett@openjdk.org>
Co-authored-by: Coleen Phillimore <coleenp@openjdk.org>
Reviewed-by: stefank, ihse, zgu, eosterlund, sspitsyn, kbarrett
2020-11-19 14:30:02 +00:00
Magnus Ihse Bursie
7dcaba6312 8253892: Disable misleading-indentation on clang as well as gcc
Reviewed-by: erikj
2020-11-04 16:17:15 +00:00
Bernhard Urban-Forster
d2812f780e 8254072: AArch64: Get rid of --disable-warnings-as-errors on Windows+ARM64 build
Reviewed-by: ihse, aph
2020-11-02 13:42:56 +00:00
Yumin Qi
e4469d2c8c 8247536: Support for pre-generated java.lang.invoke classes in CDS static archive
Reviewed-by: iklam, mchung
2020-10-10 02:06:52 +00:00
Ioi Lam
c5e63b639e 8248186: Move CDS C++ vtable code to cppVtables.cpp
Reviewed-by: coleenp
2020-09-13 19:20:45 +00:00
Ioi Lam
03a4df0acd 8244778: Archive full module graph in CDS
Reviewed-by: erikj, coleenp, lfoltan, redestad, alanb, mchung
2020-09-13 14:45:12 +00:00
Magnus Ihse Bursie
74cb1b4e75 8251541: "no symbols" printed when building hotspot
Reviewed-by: erikj
2020-08-18 17:35:38 +02:00
Ioi Lam
35e3226df8 8250990: Consolidate object copying code for CDS static/dynamic archive dumping
Reviewed-by: coleenp, ccheung
2020-08-13 18:40:51 -07:00
Kim Barrett
df923ff2fb 8249944: Move and improve the AllStatic class
Move AllStatic to it's own standalone file, and use C++11 deleted functions

Reviewed-by: dholmes, stuefe
2020-07-24 04:43:08 -04:00
Magnus Ihse Bursie
4b85bd546e 8248610: Clean up handling of Windows RC files
Reviewed-by: erikj
2020-07-01 22:39:58 +02:00
Magnus Ihse Bursie
2a37607e98 8248563: Gtest CFLAGS/warnings is not properly handled
Reviewed-by: erikj
2020-07-01 01:56:52 +02:00
Magnus Ihse Bursie
2de3595895 8248548: Use DISABLED_WARNINGS for globally disabled warnings on Visual Studio in Hotspot
Reviewed-by: kbarrett, erikj
2020-06-30 16:26:24 +02:00
Magnus Ihse Bursie
f19db799f3 8248547: Use SetupJdkLibrary for hotspot libraries
Reviewed-by: erikj
2020-06-30 16:23:34 +02:00
Coleen Phillimore
1550fd889b 8239782: CC_INTERP is only used by Zero interpreter
Change CC_INTERP conditional to ZERO and remove in places where unnecessary. Fix build to exclude compilers and rename CppInterpreter to ZeroInterpreter. The "C++ Interpreter" has been removed from the code a while ago.

Reviewed-by: dholmes, ihse
2020-06-24 09:56:20 -04:00
Vladimir Kempik
88df2f0f7f 8243470: [macos] bring back O2 opt level for unsafe.cpp
Remove special case for unsafe.cpp on clang macos

Reviewed-by: erikj, ihse
2020-06-23 13:41:55 +03:00
Jie Fu
24f040da36 8247396: Exclude PCH for files in $(OPT_SPEED_SRC) with clang after JDK-8246751
Reviewed-by: ihse, erikj
2020-06-12 10:52:20 +08:00
Kim Barrett
60ac615aa8 8240259: Disable -Wshift-negative-value warnings
Disable warning for gcc/clang.

Reviewed-by: ihse, iklam
2020-05-28 21:40:35 -04:00
Igor Ignatyev
846fd238fc 8245610: remove in-tree copy on gtest
Reviewed-by: erikj, ihse
2020-05-26 13:33:00 -07:00
Mikael Vidstedt
071bd521bc 8244224: Implementation of JEP 381: Remove the Solaris and SPARC Ports
Reviewed-by: alanb, bchristi, dcubed, dfuchs, eosterlund, erikj, glaubitz, ihse, iignatyev, jjiang, kbarrett, ksrini, kvn, naoto, prr, rriggs, serb, sspitsyn, stefank, tschatzl, valeriep, weijun, weijun
2020-05-20 17:33:37 -07:00
Magnus Ihse Bursie
3a416b9f67 8243988: Added flexibility in build system for unusal hotspot configurations
Reviewed-by: erikj
2020-04-28 19:41:39 +02:00
Kim Barrett
e1f07cd05b 8239357: Revert gcc implementation of offset_of
Revert definition of offset_of and reenable -Winvalid-offsetof.

Reviewed-by: erikj, ihse, dholmes
2020-04-23 12:57:18 -04:00
Erik Joelsson
4df99aa7ae 8226346: Build better binary builders
Reviewed-by: tbell
2019-12-13 08:27:51 -08:00
Jamsheed Mohammed C M
211e529373 8193210: [JVMCI/Graal] add JFR compiler phase/inlining events
C++ EventCompilerPhase/EventCompilerInlining definitions are extended for JVMCI use.

Reviewed-by: dnsimon, egahlin, kvn, mgronlun, thartmann
2020-03-27 09:47:13 -07:00
Magnus Ihse Bursie
901029355f 8241271: Make hotspot build reproducible
Reviewed-by: erikj, stefank, jwilhelm
2020-03-23 10:29:04 +01:00
Magnus Ihse Bursie
7d5652f14a 8239794: Move -Os from JVM feature 'minimal' to new feature 'opt-size'
Reviewed-by: erikj, dholmes
2020-02-25 09:46:12 +01:00
Matthias Baesken
2d6ed667d2 8238530: OPT_SPEED_SRC list misses some files with cpu-dependend file names
Reviewed-by: ihse, redestad
2020-02-05 10:14:40 +01:00
Magnus Ihse Bursie
ce28a96c28 8238281: Raise minimum gcc version needed to 5.0
Reviewed-by: erikj, dholmes, jwilhelm, mbaesken
2020-02-05 10:45:39 +01:00
Matthias Baesken
3cf8b34d54 8237382: Cleanup the OPT_SPEED_SRC file list in JvmFeatures.gmk
Reviewed-by: erikj, mdoerr
2020-01-16 18:04:23 +01:00
Lutz Schmidt
91b7fd7659 8233787: Break cycle in vm_version* includes
Reviewed-by: kbarrett, mdoerr
2019-11-18 17:11:06 +01:00
Leo Korinth
1fc67ab002 8232365: Implementation for JEP 363: Remove the Concurrent Mark Sweep (CMS) Garbage Collector
Reviewed-by: kbarrett, tschatzl, erikj, coleenp, dholmes
2019-11-13 11:37:29 +01:00
Magnus Ihse Bursie
66195e8a71 8233381: Update copyright year in build system files
Reviewed-by: erikj
2019-11-04 11:12:13 +01:00
Magnus Ihse Bursie
29e2c16e5b 8211073: Remove -Wno-extra from Hotspot
Reviewed-by: dholmes, erikj, kbarrett
2019-10-23 09:45:41 +02:00
Matthias Baesken
9bba8fb124 8228426: xlc: switch to clang-style warning disabling
Reviewed-by: clanger, mdoerr
2019-07-19 11:09:41 +02:00
Severin Gehwolf
96d9d06cc9 8227397: Add --with-extra-asflags configure option
Reviewed-by: phh
2019-07-08 17:44:34 +02:00
Kim Barrett
7b176df9c9 8227652: SetupOperatorNewDeleteCheck should discuss deleting destructors
Add comment describing deleting destructors

Reviewed-by: dholmes
2019-07-18 11:54:54 -04:00
Igor Ignatyev
99a18f1249 8222414: bring googlemock v1.8.1
Reviewed-by: erikj, rwestberg
2019-05-27 19:46:34 -07:00
Erik Joelsson
a455bb486c 8224677: Dtrace .d files clash with make dependency .d files
Reviewed-by: tbell
2019-05-23 14:13:09 -07:00
Calvin Cheung
72dc5721e0 8207812: Implement Dynamic CDS Archive
Improve the usability of AppCDS

Co-authored-by: Ioi Lam <ioi.lam@oracle.com>
Co-authored-by: Jiangli Zhou <jianglizhou@google.com>
Reviewed-by: acorn, jiangli, mseledtsov
2019-05-17 08:29:55 -07:00
Igor Ignatyev
1e4085b359 8222154: upgrade gtest to 1.8.1
Reviewed-by: jwilhelm, rwestberg
2019-05-16 12:16:47 -07:00
Erik Joelsson
03a9d5ad60 8223309: test failing due to self-assign-overloaded
Co-authored-by: Johan Vos <johan.vos@gluonhq.com>
Reviewed-by: tbell
2019-05-03 09:34:02 -07:00
Erik Joelsson
4b898b7aae 8221851: Use of THIS_FILE in hotspot invalidates precompiled header on Linux/GCC
Reviewed-by: tbell, ysuenaga
2019-04-10 07:04:35 -07:00
Roman Kennke
03ab1404f0 8221766: Load-reference barriers for Shenandoah
Reviewed-by: kvn, erikj, aph, shade
2019-04-02 23:00:22 +02:00
Erik Joelsson
778fd086a1 8189861: Refactor CacheFind
Reviewed-by: tbell
2017-10-24 10:41:45 +02:00
Zhengyu Gu
201cdc50f9 8204552: NMT: Separate thread stack tracking from virtual memory tracking
Reviewed-by: stuefe, minqi
2019-03-26 15:50:34 -04:00
Erik Joelsson
c11759c4fe 8221179: Zero builds fail when linking with gold and bundling libffi.so
Reviewed-by: sgehwolf, tbell
2019-03-22 08:14:21 -07:00
Erik Joelsson
2af935c800 8220383: Incremental build is broken and inefficient
Reviewed-by: tbell
2019-03-12 08:04:33 -07:00
Magnus Ihse Bursie
ebaef49ed4 8218736: Build warning in lib/JvmFlags.gmk: extraneous text after 'ifeq' directive
Reviewed-by: redestad, shade
2019-02-11 12:12:41 +01:00
Magnus Ihse Bursie
208c58c862 8218431: Improved platform checking in makefiles
Reviewed-by: erikj
2019-02-07 12:35:45 +01:00
Roman Kennke
8b62a2ee9d 8214259: Implementation: JEP 189: Shenandoah: A Low-Pause-Time Garbage Collector (Experimental)
Co-authored-by: Christine Flood <chf@redhat.com>
Co-authored-by: Aleksey Shipilev <shade@redhat.com>
Co-authored-by: Roland Westrelin <rwestrel@redhat.com>
Co-authored-by: Zhenygu Gu <zgu@redhat.com>
Co-authored-by: Andrew Haley <aph@redhat.com>
Co-authored-by: Andrew Dinn <adinn@redhat.com>
Co-authored-by: Mario Torre <mtorre@redhat.com>
Reviewed-by: kvn, roland, shade, coleenp, lmesnik, pliden, jgeorge, ihse, erikj
2018-12-10 15:47:44 +01:00
Thomas Schatzl
eb5557a98e 8214791: Consistently name gc files containing VM operations
Name all gc files containing VM operations according to a <gc>VMOperations.?pp.

Reviewed-by: coleenp, dholmes
2018-12-06 15:44:13 +01:00
Jakub Vanek
b2bf2d252b 8214332: Add a flag for overriding default JNI library search path
Reviewed-by: erikj, dholmes
2018-11-28 22:29:35 -05:00
Bob Vandette
05027c124c 8209093: JEP 340: One AArch64 Port, Not Two
Reviewed-by: dholmes, erikj, mikael, shade, avoitylov, bulasevich
2018-10-30 10:39:19 -04:00
Kim Barrett
cd95f5a933 8211296: Remove HotSpot deprecation warning suppression for Mac/clang
Removed deprecation warning suppression, fixed uses of deprecated functions.

Reviewed-by: dholmes, mikael
2018-10-05 14:28:44 -04:00
Robin Westberg
a5c9fa14f1 8210459: Add support for generating compile_commands.json
Reviewed-by: erikj, ihse
2018-10-05 07:54:28 +02:00
Magnus Ihse Bursie
73e93bdd5d 8211029: Have a common set of enabled warnings for all native libraries
Reviewed-by: erikj
2018-09-24 19:26:48 +02:00
Magnus Ihse Bursie
09a967ab81 8210988: Improved handling of compiler warnings in the build
Reviewed-by: erikj
2018-09-21 21:35:12 +02:00
Severin Gehwolf
d778b4cd2b 8210425: [x86] sharedRuntimeTrig/sharedRuntimeTrans compiled without optimization
Compile with -O2 and -ffp-contract=off as for fdlibm.

Reviewed-by: erikj, lucy, aph
2018-09-11 18:18:51 +02:00
Severin Gehwolf
ee43c985d4 8210703: vmStructs.cpp compiled with -O0
Reviewed-by: erikj, ihse
2018-09-13 11:07:40 +02:00
Magnus Ihse Bursie
c611ad6fb9 8210702: Remove dtrace mapfiles
Reviewed-by: erikj
2018-09-13 21:12:22 +02:00
Jiangli Zhou
9ba5bab865 8202035: Archive the set of ModuleDescriptor and ModuleReference objects for observable system modules with unnamed initial module
Support system module archiving with unnamed initial module at dump time.

Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Reviewed-by: erikj, coleenp, mchung, iklam, ccheung
2018-07-08 12:43:05 -04:00
Gary Adams
1682e39728 8205055: Fix compilation optimization errors with new Solaris toolchain
Reviewed-by: erikj
2018-06-19 07:15:00 -04:00
Thomas Stuefe
f5f4f34a5b 8204935: [aix] TOC overflow in libjvm.so (release build)
Reviewed-by: goetz, mbaesken, ihse
2018-06-13 07:53:27 +02:00
Per Lidén
e7af7a4aef 8204210: Implementation: JEP 333: ZGC: A Scalable Low-Latency Garbage Collector (Experimental)
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Co-authored-by: Erik Osterlund <erik.osterlund@oracle.com>
Co-authored-by: Mikael Gerdin <mikael.gerdin@oracle.com>
Co-authored-by: Kim Barrett <kim.barrett@oracle.com>
Co-authored-by: Nils Eliasson <nils.eliasson@oracle.com>
Co-authored-by: Rickard Backman <rickard.backman@oracle.com>
Co-authored-by: Roland Westrelin <rwestrel@redhat.com>
Co-authored-by: Coleen Phillimore <coleen.phillimore@oracle.com>
Co-authored-by: Robbin Ehn <robbin.ehn@oracle.com>
Co-authored-by: Gerard Ziemski <gerard.ziemski@oracle.com>
Co-authored-by: Hugh Wilkinson <hugh.wilkinson@intel.com>
Co-authored-by: Sandhya Viswanathan <sandhya.viswanathan@intel.com>
Co-authored-by: Bill Wheeler <bill.npo.wheeler@intel.com>
Co-authored-by: Vinay K. Awasthi <vinay.k.awasthi@intel.com>
Co-authored-by: Yasumasa Suenaga <yasuenag@gmail.com>
Reviewed-by: pliden, stefank, eosterlund, ehelin, sjohanss, rbackman, coleenp, ihse, jgeorge, lmesnik, rkennke
2018-06-12 17:40:28 +02:00
Aleksey Shipilev
a1518ac9b2 8204180: Implementation: JEP 318: Epsilon, A No-Op Garbage Collector
Introduce Epsilon GC

Reviewed-by: rkennke, ihse, pliden, eosterlund, lmesnik, jgeorge, stefank
2018-06-12 15:03:00 +02:00
Aleksey Shipilev
d71d1e240e 8203454: Minimal, Zero builds fail after JDK-8202377 (Modularize C2 barriers)
Reviewed-by: stuefe, eosterlund
2018-05-19 18:01:04 +02:00
Erik Joelsson
22ca6c6a40 8202738: vm_version Abstract_VM_Version::internal_vm_info_string() returns same string for different incremental builds
Reviewed-by: ihse, jiangli
2018-05-16 09:37:00 -07:00
Erik Gahlin
a060be188d 8199712: Flight Recorder
Co-authored-by: Markus Gronlund <markus.gronlund@oracle.com>
Reviewed-by: coleenp, ihse, erikj, dsamersoff, mseledtsov, egahlin, mgronlun
2018-05-15 20:24:34 +02:00
Andrew Haley
0d6885f792 8185505: AArch64: Port AOT to AArch64
Reviewed-by: kvn
2018-05-14 12:03:59 +01:00