David Chase
fbe3993153
Merge
2014-11-07 13:58:52 -05:00
Martin Doerr
d4fc9133ab
8062950: Bug in locking code when UseOptoBiasInlining is disabled: assert(dmw->is_neutral()) failed: invariant
...
Reviewed-by: dholmes, kvn
2014-11-05 16:28:11 +01:00
Goetz Lindenmaier
0aa09022fa
8062370: Various minor code improvements
...
A lot of fixes useful to improve the code quality.
Reviewed-by: coleenp, dholmes
2014-10-29 10:13:24 +01:00
Vladimir Kozlov
44d1787a26
8059139: It should be possible to explicitly disable usage of TZCNT instr w/ -XX:-UseBMI1Instructions
...
Reviewed-by: iveresov
2014-10-17 15:35:25 -07:00
Daniel D. Daugherty
f1ab0fae73
8049737: Contended Locking reorder and cache line bucket
...
JEP-143/JDK-8046133 - optimization #1 - reorder and cache line bucket.
Co-authored-by: Dave Dice <dave.dice@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Reviewed-by: shade, dice, dholmes, dsimms
2014-10-14 10:32:12 -07:00
Goetz Lindenmaier
3263a62bb4
8059592: Recent bugfixes in ppc64 port
...
Reviewed-by: kvn
2014-10-02 09:32:53 +02:00
Tobias Hartmann
ea755702aa
8059468: Fix PrintCodeCache output changed by JDK-8059137
...
Change output of PrintCodeCache to print "CodeCache" instead of "Code Cache" and change name of non-method code heap to non-nmethod code heap.
Reviewed-by: vlivanov, anoll
2014-09-30 15:44:43 +02:00
Volker Simonis
a1628426d3
8058345: Refactor native stack printing from vmError.cpp to debug.cpp to make it available in gdb as well
...
Also fix stack trace on x86 to enable walking of runtime stubs and native wrappers
Reviewed-by: kvn
2014-09-24 12:19:07 -07:00
Morris Meyer
c468032582
8050022: linux-sparcv9: assert(SharedSkipVerify || obj->is_oop()) failed: sanity check
...
Provide promoted stack slots for floating-point registers in the SPARC c_calling_convention.
Reviewed-by: kvn, jrose, drchase
2014-09-18 11:46:33 -07:00
Tobias Hartmann
cd01de591a
8015774: Add support for multiple code heaps
...
Support for segmentation of the code cache. Separate code heaps are created and used to store code of different types.
Reviewed-by: kvn, iveresov, roland, anoll, egahlin, sla
2014-09-17 08:00:07 +02:00
Tobias Hartmann
dd6285d984
8048721: -XX:+PrintCompilation prints negative bci for non entrant OSR methods
...
Removed 'InvalidOSREntryBci' and checking nmethod::_state instead to determine if an osr method is non-entrant.
Reviewed-by: kvn, vlivanov, drchase
2014-09-15 08:08:22 +02:00
Niclas Adlertz
d348978bc1
Merge
2014-09-12 09:17:58 +02:00
Severin Gehwolf
4d6624b430
8057696: java -version triggers assertion for slowdebug zero builds
...
The change as introduced with JDK-8003426 removed some zero code in cppInterpreter_zero.cpp which called generate_normal_entry() in that same file with a value of synchronized == false unconditionally. However, since the new code calls generate_normal_entry() with either true or false, the assertion in this method is no longer valid.
Reviewed-by: coleenp
2014-09-08 11:14:41 -04:00
Igor Veresov
5db7b3a4e1
8056124: Hotspot should use PICL interface to get cacheline size on SPARC
...
Using libpicl to get L1 data and L2 cache line sizes
Reviewed-by: kvn, roland, morris
2014-09-05 11:23:47 -07:00
Aleksey Shipilev
13329b5040
8050147: StoreLoad barrier interferes with stack usages
...
Reviewed-by: jrose, kvn, drchase
2014-09-04 13:11:25 +04:00
Vladimir Kozlov
b9e949183d
8055494: Add C2 x86 intrinsic for BigInteger::multiplyToLen() method
...
Add new C2 intrinsic for BigInteger::multiplyToLen() on x86 in 64-bit VM.
Reviewed-by: roland
2014-09-02 12:48:45 -07:00
Vladimir Kozlov
f813683519
8055069: TSX and RTM should be deprecated more strongly until hardware is corrected
...
Require to specify UnlockExperimentalVMOptions flag together with UseRTMLocking flag on un-patched systems where CPUID allows it but is unsupported otherwise.
Reviewed-by: iveresov, fzhinkin
2014-08-22 12:03:49 -07:00
Severin Gehwolf
31f98c26fc
8055231: ZERO variant build is broken
...
Fix zero build.
Reviewed-by: coleenp
2014-08-15 15:25:24 -04:00
Coleen Phillimore
cafb36661d
8003426: Remove UseFastAccessors and UseFastEmptyMethods except for zero
...
These options have been long disabled in Xmixed mode because they prevent these small methods from being inlined and are subject to bit rot, and we don't need more macro assembler code to maintain and change if the constant pool cache format changes.
Reviewed-by: simonis, kvn
2014-08-12 10:48:55 -04:00
Zhengyu Gu
8a690a1250
6424123: JVM crashes on failed 'strdup' call
...
Calling os::malloc()/os::strdup() and new os::strdup_check_oom() instead of ::malloc()/::strdup() for native memory tracking purpose
Reviewed-by: coleenp, ctornqvi, kvn
2014-08-11 10:18:09 -07:00
Tobias Hartmann
1213845b36
8029443: 'assert(klass->is_loader_alive(_is_alive)) failed: must be alive' during VM_CollectForMetadataAllocation
...
Added missing metadata relocation to 'loadConP_no_oop_cheap' on Sparc if the pointer is referring to a Klass. Added jtreg test.
Reviewed-by: kvn, roland
2014-08-06 08:47:40 +02:00
Vladimir Kozlov
7764490363
8052081: Optimize generated by C2 code for Intel's Atom processor
...
Allow to execute vectorization and crc32 optimization on Atom. Enable UseFPUForSpilling by default on x86.
Reviewed-by: roland
2014-08-05 15:02:10 -07:00
Tobias Hartmann
70a55eac34
8054033: Remove unused references to Compile*
...
Removed unused references to Compile* missed by JDK-8034812.
Reviewed-by: kvn, roland
2014-08-05 09:58:52 +02:00
Alexander Smundak
f8d5d704ae
8050942: PPC64: implement template interpreter for ppc64le
...
Reviewed-by: kvn, goetz
2014-07-17 15:40:04 -07:00
Rickard Bäckman
84271f1c96
Merge
2014-07-24 14:38:26 +02:00
Coleen Phillimore
e051932425
Merge
2014-07-18 11:22:49 -04:00
Tobias Hartmann
1caa674424
8051550: Printing of 'cmpN_reg_branch_short' instruction shows wrong 'op2' register
...
Missing '$' added to the format string of the 'cmpN_reg_branch_short' instruction (sparc.ad).
Reviewed-by: kvn, iveresov
2014-07-23 07:53:24 +02:00
Coleen Phillimore
3f0a945468
8004128: NPG: remove stackwalking in Threads::gc_prologue and gc_epilogue code
...
Remove bcx and mdx handling. We no longer have to convert bytecode pointers to indices for GC since Methods aren't moved.
Reviewed-by: mgerdin, kvn
2014-07-17 15:45:46 -04:00
Volker Simonis
f5ff5bab8e
8049441: PPC64: Don't use StubCodeMarks for zero-length stubs
...
Remove StubCodeMark in generate_icache_flush, generate_verify_oop, generate_throw_exception
Reviewed-by: dcubed, sspitsyn
2014-07-15 21:28:51 -07:00
Daniel D. Daugherty
a06d36cada
8049717: expose L1_data_cache_line_size for diagnostic/sanity checks
...
Add support for VM_Version::L1_data_cache_line_size().
Reviewed-by: dsimms, kvn, dholmes
2014-07-15 07:33:49 -07:00
Goetz Lindenmaier
25f33c005d
8049325: Introduce and clean up umbrella headers for the files in the cpu subdirectories
...
Introduce and clean up umbrella headers for the files in the cpu subdirectories.
Reviewed-by: lfoltan, coleenp, dholmes
2014-07-04 11:46:01 +02:00
Goetz Lindenmaier
f2051ed6fa
8048241: Introduce umbrella header os.inline.hpp and clean up includes
...
Reviewed-by: coleenp, dholmes, lfoltan
2014-06-26 16:05:15 +02:00
Coleen Phillimore
bc6fafb55a
8048169: Change 8037816 breaks HS build on PPC64 and CPP-Interpreter platforms
...
Fix the matching of format string parameter types to the actual argument types for the PPC64 and CPP-Interpreter files in the same way as 8037816 already did it for all the other files
Reviewed-by: stefank, coleenp, dholmes
2014-06-30 14:58:52 -04:00
Jon Masamitsu
38aa661273
Merge
2014-06-26 18:55:29 -07:00
Christian Thalinger
4c565a7708
Merge
2014-06-26 16:53:35 -07:00
Jon Masamitsu
8dac1f1b8a
Merge
2014-06-25 20:43:05 -07:00
Jon Masamitsu
0e622bfc55
Merge
2014-06-25 20:41:16 -07:00
Tobias Hartmann
801975f4ca
8033332: missing types in TemplateInterpreterGenerator::generate_result_handler_for
...
Add missing case statements for T_LONG and T_VOID to generate_result_handler_for(..).
Reviewed-by: iveresov, anoll
2014-06-25 09:19:09 +02:00
Stefan Karlsson
c3148bb6cb
8047326: Consolidate all CompiledIC::CompiledIC implementations and move it to compiledIC.cpp
...
Reviewed-by: vlivanov, ehelin
2014-06-25 08:56:57 +02:00
Jon Masamitsu
633706fa4e
Merge
2014-06-23 14:20:20 -07:00
Lev Priima
644042fe4a
8041794: remove bytecodes_<arch>.{cpp,hpp} files
...
Reviewed-by: dholmes, coleenp, twisti, iignatyev
2014-06-20 22:39:56 +04:00
Mikael Vidstedt
bc8c6370ea
8046611: Build errors with gcc on sparc/fastdebug
...
Reviewed-by: dholmes, ctornqvi
2014-06-20 11:19:22 -07:00
Igor Veresov
7ae9df8697
8046684: sharedRuntime.cpp...assert(((nmethod*)cb)->is_at_poll_or_poll_return(pc)) failed: safepoint polling: type must be poll
...
Emit a poll relocation for the testl in is_polling_page_far() on x86
Reviewed-by: vlivanov, roland
2014-06-18 10:54:32 -07:00
James Cheng
395560c428
8035968: Leverage CPU Instructions to Improve SHA Performance on SPARC
...
Add C2 SHA intrinsics on SPARC
Reviewed-by: kvn, roland
2014-06-11 11:05:10 -07:00
Tobias Hartmann
aeff8925b3
8031389: On x86 C1 emits two relocations for polls
...
C1 emits two poll_type relocations at safepoint polls because LIR_Assembler::safepoint_poll(..) adds a relocation and calls LIR_Assembler::add_debug_info_for_branch(..) which adds a relocation as well. The implementation of add_debug_info_for_branch(..) is changed to not emit a poll relocation.
Reviewed-by: kvn, roland
2014-06-05 10:43:16 +02:00
Goetz Lindenmaier
8e7c8f1d88
8044775: Improve usage of umbrella header atomic.inline.hpp
...
Reviewed-by: stefank, kvn
2014-06-04 11:56:44 +02:00
Rickard Bäckman
0915147727
8031994: java/lang/Character/CheckProp test times out
...
Reviewed-by: iveresov, roland
2014-06-04 10:01:28 +02:00
Mikael Vidstedt
baadb75921
8044735: Print format/argument warnings
...
Reviewed-by: twisti, kvn
2014-06-03 18:24:38 -07:00
Mikael Vidstedt
e09b9cbc3c
8044242: Remove dead NativeMovRegMemPatching class
...
Reviewed-by: twisti, kvn
2014-06-02 15:48:34 -07:00
Tobias Hartmann
2a0815a55e
8034812: remove IDX_INIT macro hack in Node class
...
The IDX_INIT macro used by Node::Node(...) to retrieve the Compile object is removed and replaced by a call to Compile::current(). The Node constructor, new operator and all calls to it are adapted accordingly.
Reviewed-by: kvn, jrose, iveresov, goetz
2014-06-02 08:07:29 +02:00