Commit Graph

211 Commits

Author SHA1 Message Date
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
Frederic Parain
555b593770 Merge 2012-02-28 07:58:43 -08: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
Erik Joelsson
97612e5913 7141244: build-infra merge: Include $(SPEC) in makefiles and make variables overridable
Reviewed-by: dholmes, ohrstrom, ohair, jcoomes
2012-02-22 09:24:35 +01:00
Bill Pittore
a94cb97f4a Merge 2012-02-22 14:00:34 -05:00
Tom Rodriguez
7a1487a726 Merge 2012-02-17 12:18:52 -08:00
Vladimir Danushevsky
a1d2da174b 7129401: PPC: runtime/7100935/TestShortArraycopy.java fails
Pass assembler switches for PPC

Reviewed-by: dholmes
2012-02-15 20:26:59 -05:00
Christian Thalinger
df753a2942 7143766: add ALT_JDK_IMAGE_DIR and improve test_jdk
Reviewed-by: rbackman, jrose, dholmes
2012-02-13 04:30:59 -08:00
Poonam Bajaj
e565fbba32 7009098: SA cannot open core files larger than 2GB on Linux 32-bit
Added Large File Support by compiling libsaproc.so with -D_FILE_OFFSET_BITS=64, and a small change with which SA should first load libraries from the path specified with SA_ALTROOT.

Reviewed-by: dholmes, kevinw, dcubed, minqi
2012-02-12 19:33:11 -08:00
Erik Joelsson
a1b4a3f698 7141242: build-infra merge: Rename CPP->CXX and LINK->LD
Cleaned up make variables for compilers and linker to consistently use CXX for C++ compiler, CC for C compiler and LD for linker.

Reviewed-by: dholmes, ohrstrom
2012-02-06 09:14:22 +01:00
Fredrik Ohrstrom
301215b860 7132779: build-infra merge: Enable ccache to work for most developer builds
When a build number is not specified, the JRE_RELEASE_VERSION define contains a date and timestamp. Thus ccache cannot cache the object files for longer than a minute since the define is passed to the compilation of all source files. This change passes JRE_RELEASE_VERSION only to vm_version.cpp and adds a function jre_release_version() to Abstract_VM_Version. This allows all other source files to be ccached.

Reviewed-by: ohair, rottenha
2012-01-31 13:12:39 +01:00
James Melvin
ccf7d491f7 7125793: MAC: test_gamma should always work
Fix gamma launcher on Mac OS X and reconcile test_gamma script on Unix platforms

Reviewed-by: dcubed, ohair, jcoomes, dholmes, ksrini
2012-01-24 19:33:14 -05:00
Paul Hohensee
8efd785f67 Merge 2012-01-11 17:58:26 -05:00
Markus Gronlund
007126d010 7115199: Add event tracing hooks and Java Flight Recorder infrastructure
Added a nop tracing infrastructure, JFR makefile changes and other infrastructure used only by JFR.

Reviewed-by: acorn, sspitsyn
2012-01-11 17:34:02 -05:00
Vladimir Kozlov
dc542c9909 7121648: Use 3-operands SIMD instructions on x86 with AVX
Use 3-operands SIMD instructions in C2 generated code for machines with AVX.

Reviewed-by: never
2011-12-20 00:55:02 -08:00
Stefan Karlsson
78d7be03bf 7116081: USE_PRECOMPILED_HEADER=0 triggers a single threaded build of the JVM
Changed the conditional to see if the precompiled header has been specified. Also, removed the unused PrecompiledOption.

Reviewed-by: dholmes, brutisso
2011-11-28 14:58:31 +01:00
Michael McMahon
31933d1f8f 7116189: Export JVM_SetNativeThreadName from Hotspot
Added JVM_SetNativeThreadName to linker mapfiles on Solaris and Linux.

Reviewed-by: dcubed, dholmes
2011-11-29 09:21:02 -05:00
Rickard Backman
2c5cec930a 7106766: Move the precompiled header from the src/share/vm directory
Moved precompiled.hpp to src/share/vm/precompiled

Reviewed-by: coleenp, dholmes
2011-11-01 13:44:40 +01:00
Igor Veresov
7f01a4d4f5 Merge 2011-09-30 13:48:17 -07:00
Volker Simonis
812f619214 7096016: SA build still produces "arg list too long" errors
Reviewed-by: kvn, never
2011-09-29 13:47:57 -07:00
Kurt Miller
95c56a472b 7089790: integrate bsd-port changes
Co-authored-by: Greg Lewis <glewis@eyesbeyond.com>
Co-authored-by: Jung-uk Kim <jkim@freebsd.org>
Co-authored-by: Christos Zoulas <christos@zoulas.com>
Co-authored-by: Landon Fuller <landonf@plausible.coop>
Co-authored-by: The FreeBSD Foundation <board@freebsdfoundation.org>
Co-authored-by: Michael Franz <mvfranz@gmail.com>
Co-authored-by: Roger Hoover <rhoover@apple.com>
Co-authored-by: Alexander Strange <astrange@apple.com>
Reviewed-by: kvn, twisti, jrose
2011-09-25 16:03:29 -07:00
Vladimir Kozlov
a46128d0dd 7081842: assert(Compile::current()->unique() < (uint)MaxNodeLimit) failed: Node limit exceeded
Add missing node limit check in IGVN optimizer

Reviewed-by: iveresov, never
2011-09-20 08:39:40 -07:00
Daniel D. Daugherty
d381d4b0b4 7071904: 4/4 HotSpot: Full Debug Symbols
Add support for .debuginfo files for HSX libraries.

Reviewed-by: poonam, dholmes, never
2011-09-16 16:21:20 -07:00
Tom Rodriguez
cebdce4479 7082263: Reflection::resolve_field/field_get/field_set are broken
Reviewed-by: kvn, dholmes, stefank, coleenp
2011-08-30 00:54:09 -07:00
John Coomes
af31d0cf27 Merge 2011-08-19 14:08:18 -07:00
Vladimir Kozlov
2cfb876ce7 Merge 2011-08-19 08:55:53 -07:00
Vladimir Kozlov
5ad0c2a370 7075559: JPRT windows_x64 build failure
Use SA_CLASSDIR variable instead of dirsctory saclasses.

Reviewed-by: kamg, dcubed
2011-08-06 08:28:08 -07:00
Andrew John Hughes
28383f3e18 7072341: enable hotspot builds on Linux 3.0
Add "3" to list of allowable versions

Reviewed-by: kamg, chrisphi
2011-07-28 14:10:21 -04:00
Keith McGuigan
cc15f4771e Merge 2011-05-04 11:04:45 -04:00
Omair Majid
d02acdc62a 7041156: gcc 4.6 doesn't recognise -export-dynamic option
Since -export-dynamic is a linker option, the correct way to pass it is -Xlinker -export-dynamic

Reviewed-by: dsamersoff, dholmes
2011-05-03 18:24:55 +04:00
Dmitry Samersoff
b0269509f1 7019808: build fails on Fedora 14: SELinux run-time check: execution of stack in libjvm.so
Executable flag is set in the elf header of libjvm.so during build, instruct ld to don't do it.

Reviewed-by: acorn, phh
2011-04-29 21:13:00 +04:00
John Coomes
385e7253a7 7037250: cscope.make database generation is silently broken
Reviewed-by: stefank
2011-04-23 04:20:09 -07:00
Coleen Phillimore
3c4d3002f2 Merge 2011-04-12 14:18:53 -07:00
David Katleman
079c89189f 7044486: open jdk repos have files with incorrect copyright headers, which can end up in src bundles
Reviewed-by: ohair, trims
2011-05-25 13:31:51 -07:00
Erik Trimble
c9e484d473 7010070: Update all 2010 Oracle-changed OpenJDK files to have the proper copyright dates - second pass
Update the copyright to be 2010 on all changed files in OpenJDK

Reviewed-by: ohair
2011-04-05 14:12:31 -07:00
Andrew John Hughes
cf3120dddc 7010849: 5/5 Extraneous javac source/target options when building sa-jdi
Make code changes necessary to get rid of the '-source 1.4 -target 1.4' options.

Reviewed-by: dholmes, dcubed
2011-04-01 15:15:37 -07:00
Gary Benson
df96662d1a 7032775: Include Shark code in the build again
Co-authored-by: Andrew Hughes <ahughes@redhat.com>
Reviewed-by: ohair
2011-03-31 06:54:30 -04:00
Roland Westrelin
4171ca786e 7029017: Additional architecture support for c2 compiler
Enables cross building of a c2 VM. Support masking of shift counts when the processor architecture mandates it.

Reviewed-by: kvn, never
2011-03-25 09:35:39 +01:00
Keith McGuigan
9acb43fa6d 7003401: Implement VM error-reporting functionality on erroneous termination
Add support for distribution-specific error reporting

Reviewed-by: coleenp, phh, jcoomes, ohair
2011-02-08 17:20:45 -05:00
Bob Vandette
b0d545a4e4 Merge 2011-02-02 11:54:26 -05:00
Bob Vandette
31e3fe4a98 7016023: Enable building ARM and PPC from src/closed repository
Reviewed-by: dholmes, bdelsart
2011-02-02 11:35:26 -05:00
Coleen Phillimore
cba53708ec 6588413: Use -fvisibility=hidden for gcc compiles
Add option for gcc 4 and above, define JNIEXPORT and JNIIMPORT to visibility=default, add for jio_snprintf and others since -fvisibility=hidden overrides --version-script definitions.

Reviewed-by: kamg, never
2011-02-01 11:23:19 -05:00
Erik Trimble
3c6a7c89ff 7010068: Update all 2010 Oracle-changed OpenJDK files to have the proper copyright dates - first pass
Update the copyright to be 2010 on all changed files in OpenJDK

Reviewed-by: jcoomes
2011-01-03 15:30:05 -08:00
Staffan Larsen
5ba47f538b Merge 2010-12-15 08:03:54 -08:00
Staffan Larsen
c299b4709f 7006354: Updates to Visual Studio project creation and development launcher
Updates to Visual Studio project creation and development launcher

Reviewed-by: stefank, coleenp
2010-12-15 07:11:31 -08:00
Stefan Karlsson
c7842c2550 7006659: temporary adlc files are added to the build variables
Don't recurse into sub-directories when looking for source files.

Reviewed-by: never, brutisso
2010-12-15 05:43:54 -08:00
David Holmes
83c72a434a 7005007: Refine use of ALT_COMPILER_PATH to avoid conflict with JPRT usage
Check for CROSS_COMPILE_ARCH being set as an indicator to use ALT_COMPILER_PATH

Reviewed-by: acorn, ohair
2010-12-09 20:12:06 -05:00
Staffan Larsen
7765368022 6981484: Update development launcher
Add new development launcher called hotspot(.exe)

Reviewed-by: coleenp
2010-12-02 05:45:54 -08:00
Stefan Karlsson
c4121e4375 7003786: sort Obj_Files before compiling
Reverted to old sort order on Linux and Solaris.

Reviewed-by: tonyp, coleenp
2010-12-02 20:01:47 +01:00
Stefan Karlsson
4a33afe6c4 7003125: precompiled.hpp is included when precompiled headers are not used
Added an ifndef DONT_USE_PRECOMPILED_HEADER to precompiled.hpp. Set up DONT_USE_PRECOMPILED_HEADER when compiling with Sun Studio or when the user specifies USE_PRECOMPILED_HEADER=0. Fixed broken include dependencies.

Reviewed-by: coleenp, kvn
2010-12-01 15:04:06 +01:00
Kelly O'Hair
0736598d42 Merge 2010-11-30 18:10:20 -08:00
Kelly O'Hair
dddeba18de 6987107: Add variable to add to but not modify non-fcs version string
Reviewed-by: jcoomes, dholmes, andrew, kvn
2010-11-30 18:07:18 -08:00
Stefan Karlsson
8006fe8f75 6989984: Use standard include model for Hospot
Replaced MakeDeps and the includeDB files with more standardized solutions.

Reviewed-by: coleenp, kvn, kamg
2010-11-23 13:22:55 -08:00
Igor Veresov
c3d3f0f262 6997456: Not possible to build just compiler2
Fix the compiler error. Allow to build just c2 specifying FORCE_TIERED=0 on the command line.

Reviewed-by: never, kvn
2010-11-05 14:49:50 -07:00
Vladimir Kozlov
68f9001261 Merge 2010-10-06 14:18:32 -07:00
Tom Rodriguez
f3c22cd1e2 6989736: fix mapfile warnings on solaris
Reviewed-by: kvn, iveresov, jcoomes
2010-10-05 17:38:40 -07:00
Keith McGuigan
9e9551fdd8 Merge 2010-09-22 12:54:51 -04:00
Daniel D. Daugherty
08b41f30d8 6985848: 3/4 fix for 6561870 causes sa-jdi.jar to be rebuilt every time
Refine fix for 6561870 to only rebuild sa-jdi.jar when needed

Reviewed-by: never, ohair, coleenp
2010-09-21 06:58:44 -07:00
Vladimir Kozlov
5e98ce13ab Merge 2010-09-16 16:48:40 -07:00
Matthias Klose
059de12e57 6561870: 3/3 Long javac compile lines fail due to command line length issues (agent compiles?)
Use javac's @filename construct to avoid long compile lines

Reviewed-by: ohair, twisti, never
2010-09-08 08:34:57 -07:00
Igor Veresov
2c66a6c3fd 6953144: Tiered compilation
Infrastructure for tiered compilation support (interpreter + c1 + c2) for 32 and 64 bit. Simple tiered policy implementation.

Reviewed-by: kvn, never, phh, twisti
2010-09-03 17:51:07 -07:00
Gary Benson
d7310fb0f7 6976186: integrate Shark HotSpot changes
Shark is a JIT compiler for Zero that uses the LLVM compiler infrastructure.

Reviewed-by: kvn, twisti
2010-08-11 05:51:21 -07:00
Bob Vandette
b95c7e9523 6953477: Increase portability and flexibility of building Hotspot
A collection of portability improvements including shared code support for PPC, ARM platforms, software floating point, cross compilation support and improvements in error crash detail.

Reviewed-by: phh, never, coleenp, dholmes
2010-08-03 08:13:38 -04:00
Mandy Chung
a20650acd0 6967423: Hotspot support for modules image
Add hotspot support for modules image

Reviewed-by: acorn
2010-07-07 15:35:58 -07:00
Tom Rodriguez
f6c6028287 6952176: Remove debug flag from adlc makefile for 6Update trains
Reviewed-by: kvn, twisti
2010-06-15 12:03:15 -07:00
Erik Trimble
ba7c173659 6941466: Oracle rebranding changes for Hotspot repositories
Change all the Sun copyrights to Oracle copyright

Reviewed-by: ohair
2010-05-27 19:08:38 -07:00
Hiroshi Yamauchi
cd48f31efe 6946040: add intrinsic for short and char reverseBytes
Reviewed-by: never, twisti
2010-04-26 11:27:21 -07:00
Andrew Haley
11051a4e6a 6932270: Allow Java's ELF symtab reader to use separate debuginfo files
Reviewed-by: never
2010-03-09 11:02:39 -08:00
Paul Hohensee
ce423c9e98 6843629: Make current hotspot build part of jdk5 control build
Source changes for older compilers plus makefile changes.

Reviewed-by: xlu
2009-12-16 12:54:49 -05:00
Vladimir Kozlov
3d9a536c1a 6722084: JPRT make file doesn't create required symbolic link to libjvm.so
Use -y zip option to preserve symbolic links.

Reviewed-by: never, jcoomes, kamg
2009-10-14 11:42:59 -07:00
Gary Benson
5473f394c6 6890308: integrate zero assembler hotspot changes
Reviewed-by: never
2009-10-13 12:04:21 -07:00
Karen Kinnear
27286386e9 Merge 2009-09-16 09:10:57 -04:00
Andrew John Hughes
3d73906ac5 6873059: Explicitly use -source 6 -target 6 when compiling with the boot jdk
The build fails if the bootstrap JDK defaults to <1.5

Reviewed-by: jcoomes
2009-09-12 12:50:07 +01:00
Karen Kinnear
488e99efd8 6830542: Performance: JVM_DefineClass already verified
Reviewed-by: kamg, phh
2009-09-04 12:53:02 -04:00
Xiomara Jayasena
a63ef10004 6862919: Update copyright year
Update copyright for files that have been modified in 2009, up to 07/09

Reviewed-by: tbell, ohair
2009-07-28 12:12:40 -07:00
Kelly O'Hair
d73143f27c Merge 2009-05-15 13:41:04 -07:00
Tom Rodriguez
21e4bf1052 6838154: make/linux/makefiles/sa.make needs hash-style fix
Reviewed-by: kvn, jrose
2009-05-06 17:52:45 -07:00
Vladimir Kozlov
3c70cff23a 6835796: Fedora 9 linux_i586-fastdebug-c2-runThese_Xcomp times out
Switch off GCC 4.3.0 optimized compilation for mulnode.o.

Reviewed-by: johnc
2009-04-30 15:57:29 -07:00
Andrew Haley
ef21b09a71 6829575: 100028: Debug information is incomplete or missing
Enable debugging in many places

Reviewed-by: ohair
2009-04-17 15:50:12 +01:00
Erik Trimble
8d6035660e Merge 2009-03-12 18:16:36 -07:00
Xiomara Jayasena
2be2e027b0 6814575: Update copyright year
Update copyright for files that have been modified in 2009, up to 03/09

Reviewed-by: katleman, tbell, ohair
2009-03-09 13:28:46 -07:00
Vladimir Kozlov
4b15cdadd3 Merge 2009-03-03 10:34:22 -08:00
Lillian Angel
d6cdfde9d9 6778669: Patch from Red Hat -- fixes compilation errors
Some fixes which are required to build on recent GCCs.

Reviewed-by: never, kvn
2009-02-27 03:35:40 -08:00
Kelly O'Hair
09010fe0a7 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
Reviewed-by: tbell
2009-01-31 17:19:42 -08:00
John R Rose
67464baa7a 6771309: debugging AD files is difficult without #line directives in generated code
More and better #line and #define directives in the generated code; ADLC itself accepts #line directives

Reviewed-by: never, kvn
2008-12-09 12:41:26 -08:00
Vladimir Kozlov
ce3f3dd8d3 6767659: Conversion from i486 to x86 missed some entries in makefiles
Fixed missed entries.

Reviewed-by: never
2008-11-13 14:50:04 -08:00
Andrey Petrusenko
b6aabd98fc Merge 2008-09-17 16:49:18 +04:00
Poonam Bajaj
b640b025c8 6731958: Include all the SA classes into sa-jdi.jar
Sa-jdi.jar bundled with JDK should include all the SA classes.

Reviewed-by: swamyv
2008-08-27 22:45:38 -07:00
Y. Srinivas Ramakrishna
d9929c525b Merge 2008-08-27 11:20:46 -07:00
Antonios Printezis
615777b6da Merge 2008-08-21 23:36:31 -04:00
Xiaobin Lu
cf5e518aff 6459085: naked pointer subtractions in class data sharing code
Reviewed-by: jcoomes
2008-08-18 14:53:36 -07:00
Erik Trimble
2d6f42d18c Merge 2008-07-11 01:14:44 -07:00
Kelly O'Hair
cb53036f17 Merge 2008-07-08 15:46:31 -07:00
Kelly O'Hair
16cd6c7922 6723762: Fix shell command that gets java version (uses 2>1)
Reviewed-by: pbk
2008-07-08 15:23:04 -07:00
Kelly O'Hair
3ec1c6f108 6695777: Queens.class should be built from source, not put in source repo
Reviewed-by: kvn
2008-07-03 10:46:50 -07:00
Xiomara Jayasena
c96a95c4b8 6719955: Update copyright year
Update copyright year for files that have been modified in 2008

Reviewed-by: ohair, tbell
2008-07-02 12:55:16 -07:00
Xiaobin Lu
2c9fd9172b 6718830: Hotspot fails to build with gcc 4.3
Fixed linux make file and couple adlc code to meet the changes of gcc 4.3

Reviewed-by: kamg, igor
2008-06-26 14:15:01 -07:00
Xiaobin Lu
1755a59451 6717128: Using relative path for ALT_OUTPUTDIR does not work properly
Import the absolute output directory when launching sub make process and avoid including defs.make in rules.make

Reviewed-by: kamg, kvn
2008-06-24 16:52:31 -07:00
Y. Srinivas Ramakrishna
f521ab4f1a Merge 2008-06-24 13:20:34 -07:00
Kumar Srinivasan
69eb2b72c6 6714758: hotspot: provide an entry point to the BootStrap Class loader[dholmes,acorn]
Adds JVM_FindClassFromBootLoader entry point, for jdk's use

Reviewed-by: dholmes, acorn
2008-06-17 13:08:15 -07:00
Xiaobin Lu
98b9988c29 6647068: libjvm.so is not built PIC
Remove the preferred base address built with libjvm.so and unified the PIC approach on Solaris & Linux.

Reviewed-by: never, kamg
2008-06-10 16:39:20 -07:00
Y. Srinivas Ramakrishna
18f3386a98 6711316: Open source the Garbage-First garbage collector
First mercurial integration of the code for the Garbage-First garbage collector.

Reviewed-by: apetrusenko, iveresov, jmasa, sgoldman, tonyp, ysr
2008-06-05 15:57:56 -07:00
Igor Veresov
035662396c Merge 2008-05-04 03:29:31 -07:00
Paul Hohensee
81c6ccf729 6693457: Open-source hotspot linux-sparc support
Move os_cpu/linux_sparc from closed to open

Reviewed-by: kamg
2008-04-24 15:07:57 -04:00
Keith McGuigan
15a1776a30 Merge 2008-04-18 07:51:43 -04:00
Keith McGuigan
f072bc9d3f 6537506: Provide a mechanism for specifying Java-level USDT-like dtrace probes
Initial checkin of JSDT code

Reviewed-by: acorn, sbohne
2008-04-17 22:18:15 -04:00
Keith McGuigan
cdc93ea431 Merge 2008-04-15 18:11:33 -04:00
Keith McGuigan
680ecf1611 Merge 2008-04-11 09:56:35 -04:00
Keith McGuigan
c8e6b3d60b 6583644: Move all managed/SCCS files out of 'build' into 'make' directory
Moved makefiles out of build and build/closed into make/

Reviewed-by: kvn, ohair
2008-04-09 14:22:48 -04:00