667 Commits

Author SHA1 Message Date
Markus Grönlund
5cd5f1d9a1 8193933: Export ClassLoaderData claim state to support interleaved object traversal
Reviewed-by: coleenp, hseigel
2018-01-15 13:09:50 +01:00
Roland Westrelin
b9cffe68c2 8194993: Loop Strip Mining has some leftover debugging code
Removed debugging code.

Reviewed-by: thartmann
2018-01-15 09:21:49 +01:00
Roland Westrelin
2067aa56eb 8193597: sun/nio/cs/TestStringCoding.java fails intermittently with getBytes(csn) failed -> GBK
Should not change loop limit check of outer loop.

Reviewed-by: thartmann
2018-01-15 09:19:53 +01:00
Roland Westrelin
bf92da2c82 8194914: Compilation fails with "node not on backedge" in OuterStripMinedLoopNode::adjust_strip_mined_loop
Modified assert which is too strong.

Reviewed-by: thartmann
2018-01-15 09:17:25 +01:00
Coleen Phillimore
1c41d1d3e0 8130039: Move the platform-specific [OS]Semaphore code
8130038: Unify the semaphore usage in os_xxx.cpp
8194763: os::signal_lookup is unused

Reviewed-by: dholmes, kbarrett
2018-01-11 18:42:36 -05:00
Thomas Schatzl
b0e4bce398 8129440: G1 crash during concurrent root region scan
Make concurrent memory accesses to oops on the heap volatile to avoid reloading by the compiler duplicating oop loading code.

Reviewed-by: ehelin, eosterlund
2018-01-11 11:28:51 +01:00
Thomas Schatzl
6e9f44c74c 8137099: G1 needs to "upgrade" GC within the safepoint if it can't allocate during that safepoint to avoid OoME
During a minor GC, if memory allocation fails, start a full GC within the same VM operation in the same safepoint. This avoids a race where the GC locker can prevent the full GC from occurring, and a premature OoME.

Co-authored-by: Axel Siebenborn <axel.siebenborn@sap.com>
Reviewed-by: ehelin, sjohanss, phh
2018-01-11 10:40:01 +01:00
Erik Österlund
0fb7dffb83 8195103: Refactor out card table from CardTableModRefBS to flatten the BarrierSet hierarchy
Reviewed-by: kbarrett, tschatzl
2018-01-10 22:48:27 +01:00
Calvin Cheung
a0c0b250cd 8193846: Obsolete the VM option UseUTCFileTimestamp
Also set the "expires in" version to 12

Reviewed-by: iklam, dholmes
2018-02-12 11:10:10 -08:00
Martin Doerr
7ca917e9bd 8197572: s390 build broken after 8165929
Reviewed-by: coleenp
2018-02-12 15:29:35 +01:00
Kim Barrett
7f0f329daf 8194691: Cleanup unnecessary casts in Atomic/OrderAccess uses
Removed unnecessary casts.

Reviewed-by: coleenp, tschatzl
2018-02-11 03:12:15 -05:00
Jesper Wilhelmsson
f4c6bc0030 Merge 2018-02-10 09:25:35 +01:00
Dmitry Samersoff
ac524f2837 8190428: Minimal Dynamic Constant support for AArch64
AArch64 specific code for 8186046

Reviewed-by: aph, psandoz
2018-02-10 09:48:51 +00:00
Coleen Phillimore
74ff5c6807 8165929: Constify arguments of Copy methods
Reviewed-by: hseigel, kbarrett
2018-02-09 08:23:42 -05:00
Thomas Schatzl
80fa8a7208 8196602: Change HeapRegionClosure to comply to naming conventions
Reviewed-by: kbarrett, sjohanss
2018-02-09 13:09:55 +01:00
Erik Österlund
c5f5601b1c 8193063: Enabling narrowOop values for RawAccess accesses
Reviewed-by: pliden, kbarrett
2018-01-10 18:04:56 +01:00
Goetz Lindenmaier
8379d6995a 8194814: [ppc, s390] A row of minor fixes and cleanups
Fix the data types of pd flags.

Reviewed-by: mdoerr
2018-01-09 08:38:22 +01:00
Jesper Wilhelmsson
fb8bca78ee Merge 2018-01-05 22:02:20 +01:00
Vic Wang
9c8adb8718 8194279: support zhaoxin x86 cpu vendor ids CentaurHauls and Shanghai
Reviewed-by: dholmes, kvn
2018-01-04 22:54:40 -05:00
Kim Barrett
9e5bf18428 8194406: Use Atomic::replace_if_null
Reviewed-by: coleenp, dholmes
2018-01-04 18:18:18 -05:00
Lana Steuck
459909ddf3 Merge 2018-01-06 01:13:32 +00:00
Tobias Hartmann
34f553d15f 8194494: SHA-512 stub uses AVX 2 instructions on non-supporting CPUs
Check for supports_avx2() && supports_bmi2() before generating SHA-512 stub.

Reviewed-by: kvn
2018-01-05 10:23:57 +01:00
Igor Veresov
98601408f0 8194271: jaotc crashes with --debug flag
Reviewed-by: kvn, thartmann
2018-01-04 14:44:38 -08:00
Lana Steuck
c8c8cd7238 Merge 2018-01-04 04:22:28 +00:00
Goetz Lindenmaier
f6c82cde45 8194482: Fix SIGSEGV in print_threads_compiling
Reviewed-by: kvn
2018-01-03 14:41:17 -08:00
Andrew Haley
c7e601e911 8193260: AArch64: JVMCI: Implement trampoline calls
Reviewed-by: adinn
2018-01-03 17:29:20 +00:00
Goetz Lindenmaier
2b6b6bb31d 8194232: Container memory not properly recognized
Reviewed-by: bobv, mdoerr, acorn
2017-12-27 11:31:09 +01:00
Rahul Raghavan
1da4b32993 8193699: aarch64 fails to build after 8167372
Added ThreadInVMfromUnknown support

Reviewed-by: smonteith, vlivanov
2017-12-26 00:38:49 -08:00
Dean Long
bd7755ce1c 8191854: Null pointer dereference in methodData.hpp:462
Reviewed-by: kvn
2017-12-22 22:06:54 -08:00
Dean Long
c336bb1f8b 8191852: Null pointer dereference in ciKlass::get_Klass of ciKlass.hpp:58
Reviewed-by: kvn
2017-12-22 22:01:53 -08:00
Vladimir Ivanov
1b558514ff 8188145: MethodHandle resolution should follow JVMS sequence of lookup by name & type before type descriptor resolution
Reviewed-by: kvn, psandoz
2018-01-12 01:52:06 +03:00
Leo Korinth
85cdf5500e 8194681: G1 uses young free cset time when reporting non-young free cset times
Reviewed-by: tschatzl, kbarrett
2018-01-09 10:27:12 +01:00
Martin Doerr
201a232a23 8194258: PPC64 safepoint mechanism: Fix initialization on AIX and support SIGTRAP
Use mmap on AIX to allocate protected page. Use trap instructions for polling if UseSIGTRAP is enabled.

Reviewed-by: rehn, goetz
2018-01-10 11:09:55 +01:00
Goetz Lindenmaier
cb8e1c4b5f 8194742: Writing replay data crashes: task is NULL
Added missing NULL check.

Reviewed-by: thartmann
2018-01-09 16:24:24 +01:00
Abhijit Saha
22b4fae438 Merge 2018-01-17 07:09:03 +00:00
Abhijit Saha
f96c816c07 Merge 2018-01-12 15:05:35 -08: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
2a8c7a915a 8191988: JDK-8190862 work for arch s390
Cleanup interpreter TLAB code and fix ZeroTLAB

Reviewed-by: mdoerr, goetz
2017-12-20 08:38:20 -08:00
Jean Christophe Beyler
4233e28ee3 8191985: JDK-8190862 work for arch arm
Fixed Interpreter never refills TLAB

Reviewed-by: dsamersoff, aph
2017-12-19 20:14:52 -08:00
Dmitrij Pochepko
84d83a6998 8194256: AARCH64: SIMD shift instructions are incorrectly encoded
Reviewed-by: aph
2018-01-09 18:18:36 +03:00
Coleen Phillimore
61592ca6fa Merge 2018-01-08 12:02:48 -05:00
Erik Österlund
c54ef2b296 8192003: Refactor weak references in StringTable to use the Access API
Reviewed-by: pliden, dholmes, coleenp
2018-01-08 16:21:23 +01:00
Daniel D. Daugherty
add0d817f5 8194652: VMError::print_native_stack() is missing an os::is_first_C_frame() check
Reviewed-by: fparain, gthornbr, stuefe
2018-01-08 09:58:38 -05:00
Coleen Phillimore
ebd77628a4 8058259: compute_offset() is confusing for static fields
Remove most hard-coded offsets, have compute_offset function that takes a string and creates a TempNewSymbol, have static_field_addr() not add in InstanceMirrorKlass::offset_of_static_fields, ie use offset from find_field

Reviewed-by: kbarrett, sspitsyn
2018-01-08 09:46:31 -05:00
Erik Österlund
647501969f 8191894: Refactor weak references in JvmtiTagHashmap to use the Access API
Reviewed-by: sspitsyn, coleenp
2018-01-08 15:12:05 +01:00
Erik Österlund
c6bbed9592 8191904: Refactor weak oops in ResolvedMethodTable to use the Access API
Reviewed-by: kbarrett, coleenp
2018-01-08 15:09:18 +01:00
Erik Österlund
8f739404a7 8191567: Refactor ciInstanceKlass G1 keep alive barrier to use Access API
Reviewed-by: dholmes, rkennke, tschatzl
2018-01-08 13:22:05 +01:00
Erik Österlund
01ab4faae4 8191888: Refactor ClassLoaderData::remove_handle to use the Access API
Reviewed-by: tschatzl, pliden, coleenp
2018-01-08 13:13:05 +01:00
Jesper Wilhelmsson
0d68fdfec3 Merge 2018-01-05 22:02:20 +01:00
Calvin Cheung
5cfe75dd1a 8192927: os::dir_is_empty is incorrect on Windows
Check file names in a directory. It is empty if only the "." and ".." files exist. Use unicode version of windows APIs to handle long path.

Reviewed-by: iklam, sspitsyn
2018-01-04 22:47:38 -08:00