58 Commits

Author SHA1 Message Date
Erik Österlund
8038a3507d 8202381: (Solaris) SIGBUS in # V [libjvm.so+0xcee494] jni_GetIntField+0x224
Reviewed-by: kbarrett, dcubed
2018-04-30 21:17:37 +02:00
Erik Österlund
f4893f5a9a 8201543: Modularize C1 GC barriers
Reviewed-by: pliden, rbackman, rkennke
2018-04-26 20:42:43 +02:00
Gerard Ziemski
edc81d17e1 8202150: [REDO] Split globals.hpp to factor out the Flag class
Factored out Flag out go globals, renamed to JVMFlag

Reviewed-by: coleenp, dholmes, kvn
2018-04-26 11:19:05 -05:00
Erik Österlund
4e252915c5 8200235: Generalize jniFastGetField jobject/jweak resolve
Reviewed-by: kbarrett, dholmes
2018-04-26 11:56:24 +02:00
Gerard Ziemski
816e2e5fe0 8202151: [BACKOUT] Split globals.hpp to factor out the Flag class
Backed out JDK-8081519

Reviewed-by: kvn
2018-04-23 14:51:16 -05:00
Gerard Ziemski
60723b7e3d 8081519: Split globals.hpp to factor out the Flag class
Factored out Flag out go globals, renamed to JVMFlag

Reviewed-by: coleenp, dholmes, kvn
2018-04-23 10:59:39 -05:00
Coleen Phillimore
1ee531afe9 8200555: OopHandle should use Access API
Add RootAccess<> to OopHandle.resolve() in runtime and interpreter code.  Add comments for compiler code for later.

Reviewed-by: eosterlund, stefank
2018-04-18 10:39:40 -04:00
Per Lidén
ec504ecf84 8201362: Remove CollectedHeap::barrier_set()
Reviewed-by: shade, rkennke
2018-04-12 11:22:24 +02:00
Per Lidén
6825739d3f 8201318: Introduce GCThreadLocalData to abstract GC-specific data belonging to a thread
Reviewed-by: shade, rehn
2018-04-12 08:25:56 +02:00
Erik Österlund
2a0986b882 8199417: Modularize interpreter GC barriers
Reviewed-by: coleenp, rkennke
2018-04-11 16:07:42 +02:00
Stefan Karlsson
367f9ea984 8201244: Clean out unnecessary includes of heap headers
Reviewed-by: coleenp, shade
2018-04-10 12:21:05 +02:00
Stefan Karlsson
db903e5748 8201213: Remove INCLUDE_ALL_GCS from memset_with_concurrent_readers
Reviewed-by: kbarrett
2018-04-06 11:37:34 +02:00
Per Lidén
3b7962d614 8199918: Shorten names of CollectedHeap::Name members
Reviewed-by: shade, eosterlund
2018-03-28 11:38:47 +02:00
Per Lidén
00ab5a67e7 8200168: Remove DONT_USE_REGISTER_DEFINES on Sparc
Reviewed-by: kvn, eosterlund
2018-03-28 09:21:05 +02:00
Tobias Hartmann
642b68b31b 8200290: Scratch buffer creation fails with "assert(!current_thread_in_native()) failed: must not be in native" on SPARC
The code needs to be changed after JDK-8167372 to transition from native.

Reviewed-by: kvn
2018-03-28 09:12:45 +02:00
Coleen Phillimore
b541d9ad77 8200276: Cleanup allocation.hpp includes
Reviewed-by: stefank, hseigel
2018-03-27 11:53:23 -04:00
Stefan Karlsson
f89abe4589 8199946: Move load/store and encode/decode out of oopDesc
Reviewed-by: eosterlund, coleenp, tschatzl
2018-03-15 21:24:10 +01:00
Erik Österlund
b7aa9d3975 8198949: Modularize arraycopy stub routine GC barriers
Reviewed-by: rkennke, pliden
2018-03-21 14:38:32 +01:00
Coleen Phillimore
221d0f4c54 8199809: Don't include frame.inline.hpp and other.inline.hpp from .hpp files
Remove frame.inline.hpp,etc from header files and adjust transitive includes.

Reviewed-by: stefank, stuefe
2018-03-21 19:45:24 -04:00
Erik Österlund
81919e5cc5 8199696: Remove Runtime1::arraycopy
Reviewed-by: kvn, mdoerr
2018-03-20 11:41:17 +01:00
Erik Österlund
0f92948d6f 8199604: Rename CardTableModRefBS to CardTableBarrierSet
Reviewed-by: stefank, pliden
2018-03-19 07:38:18 +01:00
Coleen Phillimore
fde89a34d0 8199263: Split interfaceSupport.hpp to not require including .inline.hpp files
InterfaceSupport.hpp is an inline file so moved to interfaceSupport.inline.hpp and stopped including it in .hpp files

Reviewed-by: stefank, rehn, kvn
2018-03-16 09:12:13 -04:00
Rahul Raghavan
24fd306c51 8071282: remove misc dead code
Cleanup of dead code done

Reviewed-by: kvn, thartmann
2018-03-14 09:09:38 -07:00
Goetz Lindenmaier
507c62fc76 8197405: Improve messages of AbstractMethodErrors and IncompatibleClassChangeErrors
Reviewed-by: coleenp, dholmes, mdoerr, njian
2018-02-08 09:23:49 +01:00
Coleen Phillimore
7557d78b35 8173070: Remove ValueObj class for allocation subclassing for runtime code
Reviewed-by: stefank, tschatzl, stuefe
2018-03-09 10:46:02 -05:00
Stefan Karlsson
133faf856d 8199264: Remove universe.inline.hpp to simplify include dependencies
Reviewed-by: coleenp, hseigel
2018-03-07 21:57:36 +01:00
Erik Österlund
a06129a432 8195148: Collapse G1SATBCardTableModRefBS and G1SATBCardTableLoggingModRefBS into a single G1BarrierSet
Reviewed-by: ehelin, kbarrett
2018-03-06 08:36:44 +01:00
Kim Barrett
d7765d9002 8198474: Move JNIHandles::resolve into jniHandles.inline.hpp
Moved resolve and friends to new jniHandles.inline.hpp.

Reviewed-by: tschatzl, pliden, coleenp
2018-03-01 16:51:22 -05:00
Erik Österlund
95d34d138d 8195142: Refactor out card table from CardTableModRefBS to flatten the BarrierSet hierarchy
Reviewed-by: stefank, coleenp, kvn, ehelin
2018-02-26 09:34:12 +01:00
Jean Christophe Beyler
e8fc01629a 8194084: Obsolete FastTLABRefill and remove the related code
Remove all FastTLABRefill code and flag

Reviewed-by: mdoerr, drwhite, coleenp
2018-02-16 14:23:30 -08:00
Tobias Hartmann
2c5a0835a9 8197608: MacroAssembler::unimplemented calls global operator new[]
Removed C heap allocation of string buffers.

Reviewed-by: kvn, shade
2018-02-14 08:23:53 +01:00
Coleen Phillimore
74ff5c6807 8165929: Constify arguments of Copy methods
Reviewed-by: hseigel, kbarrett
2018-02-09 08:23:42 -05:00
Dean Long
b1723061be 8194984: 9 Null pointer dereference defect groups related to ciMethodData::bci_to_data()
Reviewed-by: kvn
2018-01-31 16:09:29 -08:00
Jesper Wilhelmsson
d679703c0b Merge 2018-01-30 16:41:40 +01:00
Goetz Lindenmaier
490d2ce747 8195776: [x86,sparc] A row of minor fixes and enhancements
Reviewed-by: kvn
2018-01-19 17:01:34 +01:00
Lana Steuck
8f528fba93 Merge 2018-01-18 18:58:46 +00:00
Andrew Haley
c7e601e911 8193260: AArch64: JVMCI: Implement trampoline calls
Reviewed-by: adinn
2018-01-03 17:29:20 +00:00
Goetz Lindenmaier
407df53824 8193927: Optimize scanning code for oops
Reviewed-by: simonis, mdoerr, aph
2017-12-21 09:05:32 +01:00
Jean Christophe Beyler
1f15d2bb46 8191989: JDK-8190862 work for arch sparc
Fixed Interpreter never refills TLAB

Reviewed-by: tschatzl, rehn
2017-12-19 19:55:23 -08:00
Patric Hedlin
bece28d6cc 8191232: compiler/intrinsics/bigInteger/TestMultiplyToLen.java fails with java.lang.Exception: Failed
Generating the wrong insn for pointer comparison in intrinsic (on SPARC).

Reviewed-by: neliasso, kvn
2017-11-30 15:54:45 +01:00
Rahul Raghavan
250c05ee4c 8191227: issues with unsafe handle resolution
Added ThreadInVMfromNative or ThreadInVMfromUnknown support

Reviewed-by: thartmann, vlivanov
2017-11-27 03:11:38 -08:00
Alexander Harlap
d15086130b 8185591: guarantee(_byte_map[_guard_index] == last_card) failed: card table guard has been modified
Properly handle zero count in gen_write_ref_array_post_barrier()

Reviewed-by: tschatzl, kbarrett
2017-11-22 18:58:01 -05:00
Dean Long
fb89c1729c 8190817: deopt special-case for _return_register_finalizer is confusing and leads to bugs
Reviewed-by: vlivanov, dpochepk
2017-11-21 09:04:42 -08:00
Robbin Ehn
104ecb2dd1 8189941: Implementation JEP 312: Thread-local handshake
Introduce a way to execute a callback on threads without performing a global VM safepoint. Make it both possible and cheap to stop individual threads and not just all threads or none.

Co-authored-by: Mikael Gerdin <mikael.gerdin@oracle.com>
Co-authored-by: Erik Osterlund <erik.osterlund@oracle.com>
Reviewed-by: mdoerr, neliasso, acorn, aph, coleenp, dholmes
2017-08-31 10:00:28 +02:00
Gilles Duboscq
a908316a65 8182755: [JVMCI] Deoptimization in synchronized methods can lead to a crash or exception when using EnableJVMCI but not UseJVMCICompiler
Reviewed-by: kvn, thartmann
2017-11-10 14:57:38 +01:00
Robbin Ehn
f6750599ef 8187809: UseMembar should be set true and deprecate the flag
Reviewed-by: dcubed, sspitsyn, dholmes
2017-11-10 09:16:42 +01:00
Coleen Phillimore
e908052a71 8189610: Reconcile jvm.h and all jvm_md.h between java.base and hotspot
Removed hotspot version of jvm*h and jni*h files.

Reviewed-by: ihse, mchung, dholmes
2017-10-31 11:55:09 -04:00
Igor Veresov
548d5d4d9d 8166750: C1 profiling handles statically bindable call sites differently than the interpreter
Optimize profiling of statically binable call sites. Add monomorphic profile fixup to JVMCI MDO API.

Reviewed-by: dnsimon, kvn
2017-10-25 16:30:31 -07:00
Volker Simonis
a5d5806cb4 8166317: InterpreterCodeSize should be computed
Reviewed-by: kvn, coleenp
2017-09-04 19:50:01 +02:00
Roman Kennke
7030019135 8171853: Remove Shark compiler
Reviewed-by: dholmes, kvn, erikj, ihse
2017-10-15 22:54:03 +02:00