Commit Graph

291 Commits

Author SHA1 Message Date
Severin Gehwolf
e14531956d 8074312: Enable hotspot builds on 4.x Linux kernels
Add "4" to list of allowable versions

Reviewed-by: dholmes, mikael
2015-03-10 21:20:10 -04:00
Mikael Vidstedt
017611edae 8074726: Update source and target version used when compiling hotspot class files
Use BOOT_JDK_SOURCETARGET from top level, or fall back to -source 8 -target 8

Reviewed-by: dholmes, sla
2015-03-10 09:42:23 -07:00
Alejandro Murillo
94ddb7fc72 Merge 2015-03-03 06:23:49 -08:00
Vladimir Kozlov
239370b736 Merge 2015-02-26 10:56:54 -08:00
Dean Long
aa21fdd0c0 8072383: resolve conflicts between open and closed ports
Refactor close to remove references to closed ports

Reviewed-by: kvn, simonis, dholmes
2015-02-24 17:23:53 -05:00
Erik Joelsson
cf0e1e5323 8072904: building jdk9 with jdk9 boot jdk can cause failure or incorrect results
Reviewed-by: dholmes, dlong
2015-02-18 11:25:34 +01:00
Goetz Lindenmaier
a7edf52a02 8073315: Enable gcc -Wtype-limits and fix upcoming issues
Relevant fixes in blockOffsetTable.cpp, os_linux.cpp, parCardTableModRefBS.cpp.

Reviewed-by: jwilhelm, kbarrett, simonis
2015-02-16 14:07:36 +01:00
Vladimir Kozlov
5f8d6ce7b6 Merge 2015-01-20 15:24:58 -08:00
Maynard Johnson
675f6c191d 8049716: PPC64: Implement SA on Linux/PPC64
Reviewed-by: simonis, dsamersoff
2014-12-17 18:20:10 +01:00
Coleen Phillimore
f486fa7c1e 8042418: Remove JVM_FindClassFromClassLoader
The function has been replaced so is no longer used.

Reviewed-by: mchung, dholmes
2014-12-14 16:04:03 -05:00
Vladimir Kozlov
48b6c6007f Merge 2014-12-11 15:06:12 -08:00
Andrew Haley
0b30e012ee 8064611: AARCH64: Changes to HotSpot shared code
Everything except cpu/ and os_cpu/

Reviewed-by: dholmes, goetz, dlong, coleenp, kvn
2014-12-11 13:11:53 -08:00
Daniel D. Daugherty
fbf10d39fa Merge 2015-02-06 10:40:04 -08:00
Yumin Qi
07acd9a05e Merge 2015-01-30 10:52:25 -08:00
Daniel Fuchs
967c448681 8068730: Increase the precision of the implementation of java.time.Clock.systemUTC()
Changes the implementation of java.time.Clock.systemUTC() to take advantage of the maximum resolution of the underlying native clock on which System.currentTimeMillis() is based.

Reviewed-by: dholmes, rriggs, scolebourne, sla
2015-01-28 17:52:48 +01:00
Dean Long
fb0b5b0159 Merge 2015-01-27 13:58:55 -05:00
Dean Long
b7eaaba943 8031064: build_vm_def.sh not working correctly for new build cross compile
Move nm and awk code into vm.make

Reviewed-by: dsamersoff, dholmes
2015-01-23 22:39:24 -05:00
Jaroslav Bachorik
48639428ce 8068976: Remove JSDT implementation
Reviewed-by: sla, mchung, dholmes
2015-01-12 14:05:16 +01:00
Erik Joelsson
92b1732031 8065576: Enable pipefail in the shell used by make to better detect build errors
Reviewed-by: ihse, tbell, martin
2015-01-14 15:57:59 +01:00
Stefan Karlsson
692dbfd02d 8062808: Turn on the -Wreturn-type warning
Reviewed-by: mgerdin, tschatzl, coleenp, jrose, kbarrett
2014-11-12 13:55:59 +01:00
Alejandro Murillo
c3b487d84f Merge 2014-10-17 07:58:54 -07:00
Frederic Parain
94af790733 8057777: Cleanup of old and unused VM interfaces
Reviewed-by: coleenp, hseigel, alanb, sherman
2014-10-09 04:45:58 -07:00
Coleen Phillimore
90200446c1 8047736: Remove JVM_GetClassLoader as no longer used
Remove this function from hotspot.  It's already removed from the JDK.

Reviewed-by: mchung, fparain, ctornqvi
2014-10-02 16:31:44 -04:00
Mikael Gerdin
53b92fe072 8055141: Catch linker errors earlier in the JVM build by not allowing unresolved externals
Reviewed-by: erikj, ehelin, dholmes
2014-09-25 10:01:53 +02:00
Jesper Wilhelmsson
9390fa3b72 8055006: Store original value of Min/MaxHeapFreeRatio
Store the value set by the user and some makefile changes required to change the flags.

Reviewed-by: sla, mchung, bchristi, jmasa, dholmes, erikj
2014-09-16 16:02:32 +02:00
Magnus Ihse Bursie
2678b42e96 8056999: Make hotspot builds less verbose on default log level
Reviewed-by: dholmes, erikj
2014-09-16 12:13:13 +02:00
Erik Joelsson
152cf7d4ba 8056053: Disable HOTSPOT_BUILD_JOBS when building with configure
Reviewed-by: dholmes, ihse, dcubed
2014-08-28 11:59:04 +02:00
Coleen Phillimore
73d759e533 8049105: Move array component mirror to instance of java/lang/Class (hotspot part 2)
This removes component mirrors from arrayKlass metadata and the C2 intrinsic for them.

Reviewed-by: kvn, twisti, mgerdin
2014-08-28 11:29:09 -04:00
Mike Duigou
99237ec5d9 8047952: Remove _FORTIFY_SOURCE from fastdebug and slowdebug builds
Reviewed-by: dholmes
2014-08-13 23:33:33 +00:00
Rickard Bäckman
eefe77eaff Merge 2014-07-18 10:41:05 +02:00
Mike Duigou
412ab83d95 8046765: makefiles should use parameterized $(CP) and $(MV) rather than explicit commands
Reviewed-by: kvn, dholmes
2014-07-14 18:24:08 +00:00
Volker Simonis
a79ea5527c 8049715: PPC64: First steps to enable SA on Linux/PPC64
Reviewed-by: dholmes, kvn
2014-07-14 11:41:20 +02:00
Roland Westrelin
471e47dddf Merge 2014-07-11 02:34:11 -07:00
Mike Duigou
f312adb9c5 8047734: Backout use of -Og
Reviewed-by: iveresov
2014-07-09 21:56:16 +00:00
Mikael Vidstedt
a145a396fc 8046818: Hotspot build system looking for sdt.h in the wrong place
Reviewed-by: sla, dholmes
2014-07-03 09:16:56 -07:00
Volker Simonis
db7f1e428f 8048232: Fix for 8046471 breaks PPC64 build
Reviewed-by: mikael, dcubed
2014-07-02 13:50:16 -07:00
Alejandro Murillo
b531babf09 8043541: 'fastdebug' is printed twice in java -version
Reviewed-by: dholmes, dcubed, jcoomes
2014-06-24 12:27:51 -07:00
Mikael Vidstedt
abce44ab84 8046471: Use OPENJDK_TARGET_CPU_ARCH instead of legacy value for hotspot ARCH
Reviewed-by: erikj, dholmes
2014-06-18 12:35:32 -07:00
Daniel D. Daugherty
57113f7d70 Merge 2014-06-13 19:07:11 -07:00
Mike Duigou
ce91145032 8032045: Enable compiler and linker safety switches for debug builds
Enable GCC linker protections, runtime bounds checks and stack protection.

Reviewed-by: dholmes, kvn, coleenp
2014-06-12 16:31:07 -07:00
Staffan Larsen
1510b7c75e 8044797: Building with clang gives: fatal error: file '...' has been modified since the precompiled header was built
Reviewed-by: dholmes, dcubed
2014-06-09 11:03:09 +02:00
Coleen Phillimore
7bd17413f2 8015256: Better class accessibility
Improve protection domain check in forName()

Reviewed-by: mchung, acorn, jdn
2014-10-14 13:10:50 -07:00
Staffan Larsen
c1abf998a6 8041980: (hotspot) sun/jvmstat/monitor/MonitoredVm/CR6672135.java failing on all platforms
Reviewed-by: mgronlun, kamg
2014-04-28 09:27:47 +02:00
Alejandro Murillo
a162ea836e 8030011: Update Hotspot version string output
Reviewed-by: dholmes, jcoomes, kvn
2014-04-24 14:06:40 -07:00
Erik Helin
dda69c88e0 Merge 2014-04-04 10:24:48 +02:00
Alexander Smundak
dd193f4eb2 8036767: PPC64: Support for little endian execution model
Reviewed-by: goetz, kvn, dholmes, simonis
2014-04-02 11:24:44 -07:00
Erik Helin
521e1207a7 8033251: Use DWARF debug symbols for Linux 32-bit as default
Reviewed-by: dcubed, dholmes, coleenp
2014-03-31 14:02:40 +02:00
Nils Eliasson
8c46e61622 Merge 2014-03-14 09:26:27 +01:00
Axel Siebenborn
faad7883f2 8036976: PPC64: implement the template interpreter
Co-authored-by: Martin Doerr <martin.doerr@sap.com>
Reviewed-by: kvn, coleenp
2014-03-10 12:58:02 +01:00
Mario Torre
694a2d010b 8036619: Shark: add LLVM 3.4 support
Reviewed-by: twisti
2014-03-04 18:52:06 -08:00
Goetz Lindenmaier
4b9933a012 8036122: Fix warning 'format not a string literal'
Reviewed-by: mduigou, kvn
2014-03-03 11:54:35 +01:00
Vladimir Kozlov
4200d0d095 Merge 2014-02-20 12:20:56 -08:00
Vladimir Kozlov
5117e1a805 Merge 2014-02-19 12:08:49 -08:00
Mike Duigou
b633a889a7 8030350: Enable additional compiler warnings for GCC
Reviewed-by: dholmes, coleenp, erikj, tbell, ihse
2014-02-12 09:37:18 -08:00
Daniel D. Daugherty
3c5c0ddbce Merge 2014-02-10 12:58:53 -08:00
Ron Durbin
57d286084a 8005262: possible gamma launcher issues
Cleaned out make targets and comments associated with the previously removed gamma launcher

Reviewed-by: dcubed, stefank
2014-02-10 12:38:34 -08:00
Daniel D. Daugherty
62755b7358 8033714: hotspot 'install_jvm' bld target broken with ZIP_DEBUGINFO_FILES=0
Fixed faulty logic in makefiles when compressed FDS builds are disabled

Reviewed-by: rdurbin, dholmes, never, dnsimon, tbell
2014-02-07 09:03:44 -08:00
Staffan Larsen
eaac73cf84 8032462: Change the linux SDT implementation to use USDT2 instead of USDT1
Reviewed-by: coleenp, sspitsyn, kamg
2014-02-03 13:41:26 +01:00
Vladimir Kozlov
c3a0e80e0b Merge 2014-01-28 12:25:34 -08:00
Henry Jen
5050fd5363 8028407: adjust-mflags.sh failed build with GNU Make 4.0 with -I<path contains j>
Reviewed-by: erikj
2014-01-21 20:07:14 -08:00
Vladimir Kozlov
39b0e57fdd Merge 2013-11-05 17:38:04 -08:00
Igor Veresov
51a9303c03 Merge 2013-10-03 16:38:21 +04:00
Christian Thalinger
9376d94e6c 8025613: clang: remove -Wno-unused-value
Reviewed-by: iveresov
2013-09-28 12:42:22 -07:00
Lois Foltan
7bf953d005 7195622: CheckUnhandledOops has limited usefulness now
Enable CHECK_UNHANDLED_OOPS in fastdebug builds across all supported platforms.

Reviewed-by: coleenp, hseigel, dholmes, stefank, twisti, ihse, rdurbin
2013-09-26 10:25:02 -04:00
Vladimir Kozlov
1a700c9216 Merge 2013-09-05 11:04:39 -07:00
Morris Meyer
a665235538 Merge 2014-01-10 12:54:08 -08:00
Mikael Vidstedt
a0da47fd66 8029233: Update copyright year to match last edit in jdk8 hotspot repository for 2013
Copyright year updated for files modified during 2013

Reviewed-by: twisti, iveresov
2013-12-24 11:48:39 -08:00
Staffan Larsen
f72107ae20 8028737: Remove JVM_AccessVMIntFlag / JVM_AccessVMBooleanFlag / JVM_VMBreakPoint
Reviewed-by: dcubed, coleenp
2013-12-16 10:34:30 +01:00
Harold Seigel
6a548048a3 8022183: GCC 4.6 change sdefault setting for omit-frame-pointer which breaks hotspot stack walking
Explicitly specify -fno-omit-frame-pointer.

Reviewed-by: coleenp, dholmes, dcubed
2013-08-25 21:21:18 -04:00
Niclas Adlertz
fc44cdf0ec 8022475: Remove unneeded ad-files
Remove .ad files that are not used

Reviewed-by: kvn
2013-08-07 18:04:42 +02:00
David Holmes
b3c95408b2 8021314: minimal1.make needs to force off components not supported by the minimal VM
Reviewed-by: coleenp, bpittore
2013-07-25 21:05:29 -04:00
Vladimir Kozlov
1619c53530 Merge 2013-08-16 16:23:01 -07:00
Vladimir Kozlov
f4c4fd7903 Merge 2013-08-01 17:25:10 -07:00
David Holmes
6ade50a062 8020799: Allow customization of hotspot source directories and files
Reviewed-by: kvn, dlong
2013-07-24 19:23:26 -04:00
Vladimir Kozlov
ed85bb1853 Merge 2013-07-19 13:32:53 -07:00
Joseph Provino
b573023374 Merge 2013-07-16 12:20:08 -04:00
Joseph Provino
b5c0da41b9 8011569: ARM -- avoid native stack walking
ARM compilers do not emit FramePointer on each native frame by default

Reviewed-by: dholmes, zgu
2013-07-16 10:55:48 -04:00
Eric Mccorkle
65405fd613 8014399: Remove JVM_SetProtectionDomain from hotspot
JVM_SetProtectionDomain has been deprecated since 1.5 and is being removed

Reviewed-by: coleenp, hseigel
2013-07-08 19:36:22 -04:00
Volker Simonis
49c4939936 8019922: PPC64 (part 8): Implement Linux/PPC64 support in HotSpot makefiles
HotSpot make changes to build the HotSpot on Linux/PPC64

Reviewed-by: dholmes, kvn
2013-07-10 09:14:25 -07:00
Vladimir Kozlov
16f3142152 Merge 2013-07-03 11:50:29 -07:00
Vladimir Kozlov
579c7ac5ab Merge 2013-06-27 11:12:19 -07:00
Vladimir Kozlov
7509ebea00 Merge 2013-06-27 13:04:51 -07:00
Christian Thalinger
de4b9daceb 8017538: Clang support broke slowdebug build for i586
Reviewed-by: kvn
2013-06-24 17:47:25 -07:00
Vladimir Kozlov
b390a2d8e3 Merge 2013-06-21 15:56:24 -07:00
Goetz Lindenmaier
0522ce7a17 8016586: PPC64 (part 3): basic changes for PPC64
Added #includes needed for ppc64 port. Renamed _MODEL_ppc to _MODEL_ppc_32 and renamed corresponding old _ppc files to _ppc_32.

Reviewed-by: dholmes, kvn
2013-06-20 16:30:44 -07:00
Goetz Lindenmaier
036382cefd 8016491: PPC64 (part 2): Clean up PPC defines
Distinguish PPC, PPC64 and PPC32. PPC should guard code needed on any PPC system. PPC32 and PPC64 should guard code needed in a port for the ppc64 or ppc32 instruction set.

Reviewed-by: kvn
2013-06-19 12:29:30 +02:00
Calvin Cheung
53448fdbed 8014431: cleanup warnings indicated by the -Wunused-value compiler option on linux
Co-authored-by: Jeremy Manson <jeremymanson@google.com>
Reviewed-by: dholmes, coleenp
2013-06-13 22:02:40 -07:00
Staffan Larsen
718f3252f6 8005849: JEP 167: Event-Based JVM Tracing
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Bengt Rutisson <bengt.rutisson@oracle.com>
Co-authored-by: Calvin Cheung <calvin.cheung@oracle.com>
Co-authored-by: Erik Gahlin <erik.gahlin@oracle.com>
Co-authored-by: Erik Helin <erik.helin@oracle.com>
Co-authored-by: Jesper Wilhelmsson <jesper.wilhelmsson@oracle.com>
Co-authored-by: Keith McGuigan <keith.mcguigan@oracle.com>
Co-authored-by: Mattias Tobiasson <mattias.tobiasson@oracle.com>
Co-authored-by: Markus Gronlund <markus.gronlund@oracle.com>
Co-authored-by: Mikael Auno <mikael.auno@oracle.com>
Co-authored-by: Nils Eliasson <nils.eliasson@oracle.com>
Co-authored-by: Nils Loodin <nils.loodin@oracle.com>
Co-authored-by: Rickard Backman <rickard.backman@oracle.com>
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Co-authored-by: Yekaterina Kantserova <yekaterina.kantserova@oracle.com>
Reviewed-by: acorn, coleenp, sla
2013-06-10 11:30:51 +02:00
Tao Mao
1ddf2378db 7122222: GC log is limited to 2G for 32-bit
Enable large file support for generated 32-bit ostream.o on Linux and Solaris (as only the two need this) by setting -D_FILE_OFFSET_BITS=64 in compilation

Reviewed-by: tbell, mgerdin, dcubed
2013-06-07 09:46:58 -07:00
Volker Simonis
9fbd8582b4 8015252: Enable HotSpot build with Clang
Reviewed-by: twisti, dholmes, kvn
2013-06-04 22:16:15 -07:00
Jiangli Zhou
fff011fa0f Merge 2013-05-20 13:13:29 -04:00
Bill Pittore
ccb50f749f 8014669: arch specific flags not passed to some link commands
EXTRA_CFLAGS does not propagate to saproc and jsig makefiles

Reviewed-by: dholmes, tbell, collins
2013-05-15 23:06:04 -04:00
David Holmes
4661adb2d0 8014460: Need to check for non-empty EXT_LIBS_PATH before using it
Reviewed-by: tbell, collins, sla, coleenp
2013-05-14 07:24:50 -04:00
Christian Thalinger
7c367a6025 8008772: remove gamma launcher
Reviewed-by: kvn, neliasso, ctornqvi
2013-05-06 19:49:23 -07:00
Niclas Adlertz
09fdc18edc 8011621: live_ranges_in_separate_class.patch
Reviewed-by: kvn, roland
2013-04-16 10:08:41 +02:00
David Chase
55c4ce1ca1 7104565: trim jprt build targets
Remove JPRT debug builds, remove -DDEBUG -DFASTDEBUG and use ASSERT instead in sources

Reviewed-by: dholmes, kvn, coleenp
2013-04-12 15:53:30 -07:00
Daniel D. Daugherty
78339229bb Merge 2013-04-05 10:38:08 -07:00
Vladimir Kozlov
c68fa92e4b 8011198: LP64 setting is not preserved on Solaris after 8006965
Fixed incremental build makefiles generated by buildtree.make. Consolidated unix build.sh.

Reviewed-by: twisti
2013-04-04 12:18:46 -07:00
Mikael Vidstedt
eeb83733a6 8003310: Enable -Wunused-function when compiling with gcc
Add the -Wunused-function flag and remove a number of unused functions.

Reviewed-by: dholmes, coleenp, kvn
2013-04-04 10:01:26 -07:00
Joel Borggren-Franck
ee3ea81f65 8009382: Add JVM_Get{Field|Method}TypeAnnotations
Reviewed-by: dcubed, rbackman
2013-03-26 15:00:34 +01:00