Commit Graph

167 Commits

Author SHA1 Message Date
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
Niclas Adlertz
d348978bc1 Merge 2014-09-12 09:17:58 +02:00
Niclas Adlertz
1b124f9f48 Merge 2014-09-09 16:14:40 +02:00
Vladimir Kozlov
f8eeba1ce4 8057643: Unable to build --with-debug-level=optimized on OSX
Added missing Hotspot make targets for 'optimized' build.

Reviewed-by: iveresov
2014-09-04 23:49:17 -07:00
Staffan Larsen
e7b8addd7f 8055838: Hotspot does not compile with clang 6.0 (OS X Yosemite)
Reviewed-by: lfoltan, kvn
2014-08-29 13:34:16 +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
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
Mike Duigou
99237ec5d9 8047952: Remove _FORTIFY_SOURCE from fastdebug and slowdebug builds
Reviewed-by: dholmes
2014-08-13 23:33:33 +00: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
Mike Duigou
f312adb9c5 8047734: Backout use of -Og
Reviewed-by: iveresov
2014-07-09 21:56:16 +00:00
Christian Thalinger
4c565a7708 Merge 2014-06-26 16:53:35 -07:00
Igor Veresov
147f6a0926 8048298: Clang needs to lower optimization level for some files
Optimization options need to be lowered for some files when using clang 5.0 and 5.1

Reviewed-by: twisti
2014-06-26 12:01:44 -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
Igor Veresov
6abe4955a6 8047321: Hotspot debug builds with clang are broken
Don't use -Og with clang

Reviewed-by: twisti
2014-06-20 11:25:08 -07:00
David Dehaven
02f3dbb898 8043340: [macosx] Fix hard-wired paths to JavaVM.framework
Build system tweaks to allow building with Xcode 5 and on OS X 10.9 and later

Reviewed-by: erikj, henryjen, dholmes
2014-06-17 11:18:10 -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
Ron Durbin
870bec251c 8038132: jprt bundles have libjsig.dylib in different place on OSX
The build of Hotspot should not remove the symlinks for libjsig.

Reviewed-by: dcubed, dholmes
2014-06-02 09:30:08 -07: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
Volker Simonis
693f28c012 8039805: Fix the signature of the global new/delete operators in allocation.cpp
Reviewed-by: dholmes, lfoltan
2014-05-12 09:59:56 -04: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
Goetz Lindenmaier
4b9933a012 8036122: Fix warning 'format not a string literal'
Reviewed-by: mduigou, kvn
2014-03-03 11:54:35 +01:00
Henry Jen
ac4f26242b 8033898: undefined symbol when build hotspot with Xcode5
Reviewed-by: sla, dholmes
2014-02-25 23:59:04 -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
Harold Seigel
b7100718e8 Merge 2014-01-29 19:54:44 -05:00
Alejandro Murillo
4c4881a31f Merge 2014-01-23 10:35:38 -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
Staffan Larsen
b35fb5f8c0 8030812: Change the solaris DTrace implementation to use USDT2 instead of USDT1
Reviewed-by: coleenp, sspitsyn, dsamersoff
2014-01-16 20:14:21 +01:00
Dmitry Samersoff
5289bda8e5 8030941: Darwin mapfile-vers doesnt work for other BSDs
Changed makefile to use generic mapfile for non Darwin BSDs

Reviewed-by: dholmes, sla
2014-01-15 02:02:47 +04:00
Morris Meyer
a665235538 Merge 2014-01-10 12:54:08 -08:00
Christian Thalinger
dd042bf16e 8022263: use same Clang warnings on BSD as on Linux
Reviewed-by: kvn, iveresov
2014-01-07 14:26:12 -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
Daniel D. Daugherty
232c4efbdb 7165611: implement Full Debug Symbols on MacOS X hotspot
Add MacOS X FDS support to hotspot; add minimal MacOS X FDS import support to jdk; add MacOS X FDS support to install; add MacOS X FDS support to root.

Reviewed-by: erikj, sla, dholmes, rdurbin, tbell, ihse
2013-10-15 08:25:43 -07: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
Dmitry Samersoff
dc7c7c5e13 8022617: Openjdk hotspot build is broken on BSD platforms using gcc
Enforce of preprocessing of all assembly sources by assembler-with-cpp

Reviewed-by: dholmes, erikj
2013-09-12 15:53:49 +04:00
Lois Foltan
0f6bcbe0b5 8024050: Incorrect optimization level and comment specified for unsafe.cpp
Fix comments and optimization level.

Reviewed-by: rdurbin, coleenp, hseigel
2013-08-30 15:07:23 -04:00
Lois Foltan
02440bce37 8022407: sun/misc/CopyMemory.java fails with SIGSEGV in Unsafe_SetByte+0x35
Lower optimization level for unsafe.cpp due to MacOS Xcode 4.6.2 compiler optimization issue.

Reviewed-by: coleenp, twisti, dholmes
2013-08-29 13:44:07 -04:00
Christian Thalinger
9e056eedc4 8022956: Clang: enable return type warnings on BSD
Reviewed-by: coleenp, sla
2013-08-20 10:57:50 -07: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
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
David Holmes
e5fa731ce9 8014326: [OSX] All libjvm symbols are exported
Add support for a MacOS X compatible form of the libjvm mapfile.

Reviewed-by: dcubed, rdurbin, coleenp
2013-06-19 13:14:03 -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
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
Christian Thalinger
c6c7f3439e Merge 2013-05-16 13:47:55 -07:00
Yumin Qi
98151c30c8 8012902: remove use of global operator new - take 2
The fix of 8010992, disable use of global operator new and new[] which caused failure on some tests. This takes two of the bugs also add ALLOW_OPERATOR_NEW_USAGE to prevent crash for third party code calling operator new of jvm on certain platforms.

Reviewed-by: coleenp, dholmes, zgu
2013-05-14 09:41:12 -07: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
Alejandro Murillo
d60d7014ed Merge 2013-04-19 09:58:05 -07:00
David Katleman
6e2f758312 8012048: JDK8 b85 source with GPL header errors
Reviewed-by: iris, mduigou, jjg
2013-04-12 15:22:08 -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
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
Joel Borggren-Franck
ee3ea81f65 8009382: Add JVM_Get{Field|Method}TypeAnnotations
Reviewed-by: dcubed, rbackman
2013-03-26 15:00:34 +01:00
Morris Meyer
8d607b2446 Merge 2013-03-21 21:48:56 -07:00
Christian Thalinger
2f4ecb86a2 8006965: remove test_gamma and add dedicated test_* targets instead
Reviewed-by: kvn, jcoomes
2013-03-20 17:04:45 -07:00
Daniel D. Daugherty
58cc8b00f9 Merge 2013-03-17 08:57:56 -07:00
Yumin Qi
be1b5fc17e 8003348: SA can not read core file on OS
Macosx uses Mach-O file format for binary files, not ELF format. Currently SA works on core files on other platforms, t his change enables SA work on core file generated on Darwin.

Reviewed-by: sla, sspitsyn
2013-03-14 00:33:08 -07:00
Joseph Provino
a68c69fd65 Merge 2013-03-08 12:35:18 -05:00
Joseph Provino
94853afaee 8008474: Add -Wundef to warning flags
Force use of undefined macros to be and error.

Reviewed-by: dholmes, mikael
2013-03-06 13:50:54 -05:00
Erik Joelsson
f167bb36ab 8008451: Make mac builds on 10.8 work on 10.7
Reviewed-by: jcoomes, ohair
2013-03-04 22:39:00 -08:00
Mikael Gerdin
1d468be4b1 8006753: fix failed for JDK-8002415 White box testing API for HotSpot
Modify WhiteBoxAPI to use interface classes from test/testlibrary instead, add ClassFileInstaller to resolve the boot class path issue

Reviewed-by: ctornqvi, dsamersoff, coleenp, kvn
2013-02-19 18:45:49 +01:00
Mikael Vidstedt
d258e2c069 8007639: Workaround for ccache in vm.make is incorrect
Fixed makefile logic to correctly special case JRE_RELEASE_VERSION and vm_version.o

Reviewed-by: dholmes, erikj
2013-02-14 12:36:07 -08:00
Bill Pittore
9cad40fca6 Merge 2013-02-07 16:05:48 -05:00
Bharadwaj Yadavelli
cb255a0269 8004967: Default method cause VerifyError: Illegal use of nonvirtual
Recognize VM generated method in old verifier

Reviewed-by: acorn, coleenp
2013-01-28 10:55:30 -05:00
Dean Long
0a2347e0ba Merge 2013-01-27 01:07:09 -08:00
Zhengyu Gu
fc0efc91c8 8000692: Remove old KERNEL code
Removed depreciated kernel VM source code from hotspot VM

Reviewed-by: dholmes, acorn
2013-01-25 10:04:08 -05:00
Joseph Provino
698fba94ef 8005915: Unify SERIALGC and INCLUDE_ALTERNATE_GCS
Rename INCLUDE_ALTERNATE_GCS to INCLUDE_ALL_GCS and replace SERIALGC with INCLUDE_ALL_GCS.

Reviewed-by: coleenp, stefank
2013-01-23 13:02:39 -05:00
Coleen Phillimore
e508ba9b0b 7174978: NPG: Fix bactrace builder for class redefinition
Remove Method* from backtrace but save version so redefine classes doesn't give inaccurate line numbers.  Removed old Merlin API with duplicate code.

Reviewed-by: dholmes, sspitsyn
2013-01-17 13:40:31 -05:00
Eric Mccorkle
be968245ec 8004728: Add hotspot support for parameter reflection
Add hotspot support for parameter reflection

Reviewed-by: acorn, jrose, coleenp
2013-01-08 14:01:36 -05:00
Joel Borggren-Franck
6ed6cb5375 8004823: Add VM support for type annotation reflection
Reviewed-by: dholmes, coleenp
2012-12-20 10:22:19 +01:00
Ron Durbin
af7cedec67 7153050: remove crufty '_g' support from HotSpot repo makefiles
Phase 1 is removing '_g' support from the Makefiles.

Reviewed-by: dcubed, sspitsyn, coleenp, tbell
2012-12-14 10:06:52 -08:00
Gary Collins
3a32124e5c Merge 2012-10-12 11:31:27 -07:00
Gary Collins
ad3844358d Merge 2012-10-12 10:49:39 -07:00
Vladimir Kozlov
5f132a5ec3 Merge 2012-10-12 09:22:52 -07:00
Joseph Provino
c5eaaaa070 7189254: Change makefiles for more flexibility to override defaults
Change makefiles so that targets and parameters can be overridden by alternate makefiles.

Reviewed-by: dholmes, coleenp
2012-10-10 14:35:58 -04:00
Mikael Vidstedt
769dd50182 7197424: update copyright year to match last edit in jdk8 hotspot repository
Update copyright year to 2012 for relevant files

Reviewed-by: dholmes, coleenp
2012-10-09 10:09:34 -07:00
Mark Wielaard
959d0a9ebb 7170638: Use DTRACE_PROBE[N] in JNI Set and SetStatic Field
Don't use HS_DTRACE_PROBE_CDECL_N and HS_DTRACE_PROBE_N directly.

Reviewed-by: coleenp, kamg, dholmes, sspitsyn
2012-10-08 09:18:54 -04:00
Vladimir Ivanov
2467d2f247 8000485: Hotspot build fails in Solaris Studio IDE when building dtrace
Prepend '.' to the existing native library path

Reviewed-by: kvn, sspitsyn
2012-10-05 19:44:49 -07:00
Yumin Qi
22544e7a7c 6879063: SA should use hsdis for disassembly
We should in SA to use hsdis for it like the JVM does to replace the current java based disassembler.

Reviewed-by: twisti, jrose, sla
2012-09-24 12:44:00 -07:00
Kelly O'Hair
f65906c1bc 7198329: Add $(sort) to object files used in links makes binarties more consistent
Reviewed-by: dholmes, tbell, erikj, ihse, ohrstrom
2012-09-18 13:15:28 -07:00
Staffan Larsen
e91b6584eb 7193201: [OS X] The development launcher should be signed and given task_for_pid privileges
Reviewed-by: sspitsyn, nloodin, mgronlun, coleenp
2012-09-17 11:46:19 +02:00
Zhengyu Gu
a39b17624a 6995781: Native Memory Tracking (Phase 1)
7151532: DCmd for hotspot native memory tracking

Implementation of native memory tracking phase 1, which tracks VM native memory usage, and related DCmd

Reviewed-by: acorn, coleenp, fparain
2012-06-28 17:03:16 -04:00
Staffan Larsen
8e42425c92 7178667: ALT_EXPORT_PATH does not export server jvm on macosx
Missing .PHONY targets in makefile

Reviewed-by: dholmes, dsamersoff
2012-06-27 15:23:36 +02:00
Volker Simonis
7c17e9e75b 7175914: Usage of gcc with precompiled headers produces wrong build dependencies
Add -fpch-deps flag to gcc builds

Reviewed-by: kamg, coleenp
2012-06-11 13:10:14 -04:00
Nils Loodin
2c07f4154e 7148488: Whitebox tests for the Diagnostic Framework Parser
Reviewed-by: brutisso, sla, mgerdin
2012-03-15 13:37:13 +01:00
Erik Joelsson
cfc6c74d02 7141246: build-infra merge: Introduce new JVM_VARIANT* to control which kind of jvm gets built
Reviewed-by: dholmes, ohair
2012-03-19 10:09:24 +01:00
Bengt Rutisson
a77a5ac2a0 Merge 2012-03-05 22:34:18 +01:00
Mikael Gerdin
27c0786c3b 7148152: Add whitebox testing API to HotSpot
Add an internal testing API to HotSpot to enable more targeted testing of vm functionality

Reviewed-by: phh, dholmes
2012-02-23 14:58:35 +01:00