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
Albert Noll
a2889becd9
7009641: Don't fail VM when CodeCache is full
...
Allocation in the code cache returns NULL instead of failing the entire VM
Reviewed-by: kvn, iveresov
2013-09-24 15:56:25 +02:00
Thomas Schatzl
b4e927d2a9
Merge
2013-09-16 09:41:03 +02:00
Goetz Lindenmaier
5d63d647c1
8024342: PPC64 (part 111): Support for C calling conventions that require 64-bit ints
...
Some platforms, as ppc and s390x/zArch require that 32-bit ints are passed as 64-bit values to C functions. This change adds support to adapt the signature and to issue proper casts to c2-compiled stubs. The functions are used in generate_native_wrapper(). Adapt signature used by the compiler as in PhaseIdealLoop::intrinsify_fill().
Reviewed-by: kvn
2013-09-18 14:34:56 -07:00
Goetz Lindenmaier
081d2454fb
8024344: PPC64 (part 112): C argument in register AND stack slot
...
On PPC, the first 13 floating point arguments to C calls are passed in floating point registers. Also, all but the first 8 arguments are passed on the stack. So there can be floating point arguments that are passed on the stack and in a register. We duplicate the regs datastructure in c_calling_convention() to represent this.
Reviewed-by: kvn, cjplummer
2013-09-12 13:51:13 -07:00
Niclas Adlertz
bcdf7e7a4d
8010941: MinJumpTableSize is set to 18, investigate if that's still optimal
...
Lowered the MinJumpTableSize for each platform
Reviewed-by: kvn
2013-09-11 09:34:00 +02:00
Roland Westrelin
f188c2bf70
7199175: JSR 292: C1 needs patching when invokedynamic/invokehandle call site is not linked
...
Do patching rather bailing out for unlinked call with appendix
Reviewed-by: twisti, kvn
2013-08-21 13:34:45 +02:00
Harold Seigel
4d91f4e69d
8003424: Enable Class Data Sharing for CompressedOops
...
8016729: ObjectAlignmentInBytes=16 now forces the use of heap based compressed oops
8005933: The -Xshare:auto option is ignored for -server
Move klass metaspace above the heap and support CDS with compressed klass ptrs.
Reviewed-by: coleenp, kvn, mgerdin, tschatzl, stefank
2013-08-15 20:04:10 -04:00
Erik Helin
30f059b5fc
8015107: NPG: Use consistent naming for metaspace concepts
...
Reviewed-by: coleenp, mgerdin, hseigel
2013-08-12 17:37:02 +02:00
Serguei Spitsyn
4974d1aef2
7187554: JSR 292: JVMTI PopFrame needs to handle appendix arguments
...
Restore the appendix argument after PopFrame() call
Reviewed-by: twisti, coleenp
2013-08-06 16:33:59 -07:00
Vladimir Kozlov
8e2181cb13
8008938: TieredCompilation should be default
...
Switch on TieredCompilation by default
Reviewed-by: twisti
2013-07-26 12:37:39 -07:00
Daniel D. Daugherty
c421e7a0d3
Merge
2013-07-18 12:05:32 -07:00
Goetz Lindenmaier
ef69ce852c
8016697: Use stubs to implement safefetch
...
Implement Safefetch as stub routines. This reduces compiler and os dependencies.
Reviewed-by: twisti, kvn
2013-06-20 15:02:05 +02:00
Roland Westrelin
6864f9f8a8
Merge
2013-07-04 01:42:34 -07:00
David Chase
9a359984c2
7088419: Use x86 Hardware CRC32 Instruction with java.util.zip.CRC32
...
Add intrinsics using new instruction to interpreter, C1, C2, for suitable x86; add test
Reviewed-by: kvn, twisti
2013-07-02 20:42:12 -04:00
Albert Noll
386e37ba15
8014972: Crash with specific values for -XX:InitialCodeCacheSize=500K -XX:ReservedCodeCacheSize=500k
...
Introduce a minimum code cache size that guarantees that the VM can startup.
Reviewed-by: kvn, twisti
2013-07-02 07:51:31 +02:00
Vladimir Kozlov
579c7ac5ab
Merge
2013-06-27 11:12:19 -07:00
Coleen Phillimore
39a1c1d6c2
8016325: JVM hangs verifying system dictionary
...
Minimize redundant verifications of Klasses.
Reviewed-by: hseigel, jmasa
2013-06-24 18:55:46 -04:00
Goetz Lindenmaier
fad60d1428
8017308: Remove unused breakpoint relocation type
...
Remove unused breakpoint relocation type
Reviewed-by: kvn
2013-06-24 11:53:54 -07:00
David Chase
7ddef5cd69
8002160: Compilation issue with adlc using latest SunStudio compilers
...
Modify declaration of 'swap' overloading; dodge optimizer bug in c1_LIR.cpp
Reviewed-by: kvn, jrose
2013-06-17 12:35:53 -04:00
Vladimir Kozlov
55f6f35697
Merge
2013-06-14 16:33:34 -07:00
Rickard Bäckman
9a67229e2f
8016131: nsk/sysdict/vm/stress/chain tests crash the VM in 'entry_frame_is_first()'
...
Reviewed-by: jrose, kvn, mgronlun
2013-06-12 11:17:39 +02:00
Rickard Bäckman
2977c8fca3
8016444: Duplicate zombie check in safe_for_sender
...
Reviewed-by: dholmes, sla
2013-06-12 09:49:42 +02: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
Morris Meyer
5b2339a7a2
8008407: remove SPARC V8 support
...
Removed most of the SPARC V8 instructions
Reviewed-by: kvn, twisti
2013-06-07 16:46:37 -07:00
Morris Meyer
690abe1b20
8015437: SPARC cbcond branch offset out of 10-bit range
...
Forced SPARC MacroAssembler eden_alloate to use long branch to slow case
Reviewed-by: kvn, twisti
2013-06-07 07:33:35 -07:00
Roland Westrelin
6ae26f2e94
8010460: Interpreter on some platforms loads ConstMethod::_max_stack and misses extra stack slots for JSR 292
...
ConstMethod::max_stack() doesn't account for JSR 292 appendix.
Reviewed-by: kvn
2013-04-24 11:49:38 +02:00
Thomas Schatzl
8d53e75550
6843347: Boundary values in some public GC options cause crashes
...
Setting some public integer options to specific values causes crashes or undefined GC behavior. This patchset adds the necessary argument checking for these options.
Reviewed-by: jmasa, brutisso
2013-05-15 11:05:09 +02:00
Jiangli Zhou
fe9809cd8a
Merge
2013-05-09 16:27:51 -04:00
Eric McCorkle
32fa61ad54
8009729: Refix hotspot jni_<cpu>.h JNIEXPORT and JNIIMPORT definitions to match jdk version
...
Update JNIEXPORT and JNIIMPORT to work with other compilers that don't necessarily have the __attribute__ type qualifier
Reviewed-by: dholmes, dcubed, coleenp
2013-05-07 13:45:59 -04:00
Bill Pittore
de01ed0a09
8013633: Cleanup platform ifdefs in unsafe.cpp
...
Replace ifdefs with SUPPORTS_NATIVE_CX8 set in platform include file
Reviewed-by: dholmes, dlong
2013-05-07 10:19:33 -04:00
Jiangli Zhou
b769cd296f
Merge
2013-04-26 16:58:18 -04:00
Dean Long
9c966207ef
Merge
2013-04-24 21:11:02 -04:00
Goetz Lindenmaier
3f42e9e118
8003853: specify offset of IC load in java_to_interp stub
...
Refactored code to allow platform-specific differences
Reviewed-by: dlong, twisti
2013-04-24 20:55:28 -04:00
Jiangli Zhou
8c2c17a067
8012927: 'assert(nbits == 32 || (-(1 << nbits-1) <= x && x < ( 1 << nbits-1))) failed: value out of range' in interpreter initialization
...
Change br_null_short() to br_null().
Reviewed-by: coleenp, hseigel
2013-04-23 12:32:17 -04:00
Bharadwaj Yadavalli
b32dc11760
Merge
2013-04-19 03:13:04 -04:00
Bharadwaj Yadavalli
824a51963f
Merge
2013-04-18 16:04:33 -07:00
Jiangli Zhou
a86e7e948c
Merge
2013-04-18 17:00:16 -04:00
Martin Doerr
d61a4656e4
8012335: G1: Fix bug with compressed oops in template interpreter on x86 and sparc
...
In do_oop_store the uncompressed value of the oop being stored needs to be preserved and passed to g1_write_barrier_post. This is necessary for the heap region cross check to work correctly.
Reviewed-by: coleenp, johnc
2013-04-17 10:57:02 -07:00
Roland Westrelin
361d401c11
8011582: assert(nbits == 32 || (-(1 << nbits-1) <= x && x < ( 1 << nbits-1))) failed: value out of range
...
C1 runtime's predicate_failed_trap should use jump_to on sparc
Reviewed-by: kvn
2013-04-15 09:42:46 +02:00
David Chase
25c31f3742
6443505: Ideal() function for CmpLTMask
...
Repair wrong code generation, added new matching rule
Reviewed-by: kvn, twisti
2013-04-12 19:14:47 -07: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
Jiangli Zhou
56370657b9
8010862: The Method counter fields used for profiling can be allocated lazily
...
Allocate the method's profiling related metadata until they are needed.
Reviewed-by: coleenp, roland
2013-04-09 17:17:41 -04:00
Thomas Wuerthinger
06ef4cddf7
7153771: array bound check elimination for c1
...
When possible optimize out array bound checks, inserting predicates when needed.
Reviewed-by: never, kvn, twisti
2013-03-21 09:27:54 +01:00
Roland Westrelin
8f1814d874
8008555: Debugging code in compiled method sometimes leaks memory
...
Support for strings that have same life-time as code that uses them.
Reviewed-by: kvn, twisti
2013-03-18 13:19:06 +01:00
Roland Westrelin
05b1c69fc0
8009761: Deoptimization on sparc doesn't set Llast_SP correctly in the interpreter frames it creates
...
Deoptimization doesn't set up callee frames so that they restore caller frames correctly.
Reviewed-by: kvn
2013-03-13 09:44:45 +01:00
Rickard Bäckman
1a74b23a2f
8008340: [sampling] assert(upper->pc_offset() >= pc_offset) failed: sanity
...
Reviewed-by: kvn, sla
2013-02-26 14:09:52 +01:00
Coleen Phillimore
b8b9434a9f
8000797: NPG: is_pseudo_string_at() doesn't work
...
Zero Symbol* for constant pool strings to indicate pseudo_strings (objects that aren't strings). Clean up JVM_CONSTANT_Object and unused flags.
Reviewed-by: sspitsyn, jrose
2013-02-22 08:36:42 -05:00
Vladimir Danushevsky
ac1a75df8c
Merge
2013-02-07 20:40:14 -05:00
Morris Meyer
6c80586b40
8005811: Turn off TierdCompilation in JDK8 trunk for all platforms
...
Disable tiered compilation in jdk8 because of CodeCache and performance anomalies
Reviewed-by: kvn, twisti
2013-01-25 16:31:47 -08:00