8374 Commits

Author SHA1 Message Date
Harold Seigel
366e6ac796 8180627: gc/gctests/Steal/steal001: guarantee(cp->cache() == NULL) failed
Clean up constant pool cache if class linking fails

Reviewed-by: coleenp, gtriantafill
2017-08-02 08:19:09 -04:00
Coleen Phillimore
12240d1be6 Merge 2017-08-02 00:15:52 +00:00
Coleen Phillimore
8b8f59294c 8185590: ShouldNotReachHere from ClassLoaderData::try_get_next_class()
Counting number of instanceKlass code didn't work.

Reviewed-by: shade, zgu, jiangli
2017-08-01 17:36:38 -04:00
Vladimir Kozlov
adb8f74592 Merge 2017-08-01 14:09:34 -07:00
Serguei Spitsyn
10f79d42ef 8182844: Fix broken links in the generated jvmti.html
Fix broken links in the jvmti.html

Reviewed-by: clanger, dcubed
2017-08-01 08:53:32 -07:00
Daniel D. Daugherty
7a713e117a 8185273: Test8004741.java crashes with SIGSEGV in JDK10-hs nightly
Threads::parallel_java_threads_do() needs to call VMThread::claim_oops_do() to avoid causing a parallel GC to miss the VMThread.

Reviewed-by: shade, rkennke, kvn, gthornbr
2017-07-31 12:37:34 -07:00
Lana Steuck
a8abed5a38 Merge 2017-07-27 02:17:21 +00:00
Coleen Phillimore
a1f70549e4 7133093: Improve system dictionary performance
Implement one dictionary per ClassLoaderData for faster lookup and removal during class unloading

Reviewed-by: iklam, acorn, jiangli
2017-07-28 10:48:35 -04:00
Roland Westrelin
b170f01ddd 8182475: C2: allow vectorization of HeapByteBuffer.putInt loops
Reviewed-by: kvn
2017-07-27 17:47:57 -07:00
Coleen Phillimore
af5c6eefbf 8183039: Re-examine methodHandle methods uninlined by 8144256
Add more const references so out-of-line methodHandle destructor and copy ctor called infrequently

Reviewed-by: hseigel, redestad
2017-07-27 18:06:41 -04:00
Thomas Stuefe
9ce1967658 8185263: Fix zero build after 8169881, 8175318, 8178350
Reviewed-by: iklam, coleenp
2017-07-26 11:51:25 -07:00
Thomas Stuefe
7599f75066 8185262: Keep default logging for Metaspace OOM short and concise
Reviewed-by: iklam, coleenp
2017-07-26 11:47:11 +02:00
Coleen Phillimore
a9fb2dde3f 8185296: java_lang_Class::array_klass should be array_klass_acquire
Reviewed-by: eosterlund, kbarrett
2017-07-26 10:41:07 -04:00
Abhijit Saha
7150e2f4df Merge 2017-07-13 21:32:55 -07:00
Vladimir Kozlov
7234ed2881 8184036: Restore -XX:UseAVX=3 as product value
Reviewed-by: dlong, roland
2017-07-10 14:28:40 -07:00
Lana Steuck
e4d140f376 Merge 2017-07-07 03:07:07 +00:00
Tobias Hartmann
ef3a681e7b 8183103: Post loop vectorization produces incorrect results
Disable AVX=3 and PostLoopMultiversioning by default and make them experimental in JDK 9.

Reviewed-by: kvn
2017-07-05 09:06:59 +02:00
Lana Steuck
3edb9c14f7 Merge 2017-06-24 00:24:40 +00:00
Roland Westrelin
10d189d284 8181742: Load that bypasses arraycopy has wrong memory state
Set load memory edge to the memory state right before the arraycopy.

Reviewed-by: kvn, thartmann
2017-06-23 09:33:21 +02:00
Ioi Lam
76f126d1ba 8183038: Minimal vm slowdebug build fails with undefined reference to MetaspaceShared::is_valid_shared_method
Added missing NOT_CDS_RETURN_(false)

Reviewed-by: jiangli, coleenp
2017-07-25 09:32:50 -07:00
Harold Seigel
5e16a23965 Merge 2017-07-25 19:25:02 +00:00
Harold Seigel
3f65f7fe6d 8178107: Compiler crashes with "assert(get_instanceKlass()->is_loaded()) failed: must be at least loaded"
Add missing '!' operator to weed out unloaded classes

Reviewed-by: coleenp, dcubed
2017-07-25 13:33:28 -04:00
Dean Long
07d9b68ae2 Merge 2017-07-25 16:26:35 +00:00
Dean Long
9da6aeed57 8184047: ExecuteInternalVMTests.java "failed on a valid DirectivesParser string" assert
Reviewed-by: kvn
2017-07-25 08:58:24 -07:00
Roman Kennke
5a4e278add 8180929: Deprecate -XX:+/-MonitorInUseLists option
Reviewed-by: zgu, coleenp
2017-07-25 11:58:29 +02:00
Coleen Phillimore
1fb65f8518 Merge 2017-07-24 22:56:43 +00:00
Coleen Phillimore
fd08aa9cef 8182397: Race in field updates when creating ArrayKlasses can lead to crash
Update array_klass field in component mirror after klass.java_mirror field for concurrent readers in compiled code

Reviewed-by: aph, kbarrett
2017-07-24 17:46:06 -04:00
Zhengyu Gu
ae4b3f2475 8184991: NMT detail diff should take memory type into account
NMT detail allocation site comparison should compare sites with the same memory type

Reviewed-by: shade, coleenp
2017-07-24 15:19:46 -04:00
Thomas Stuefe
fe6e4eb1e0 8185033: On Metaspace OOM, ChunkManager composition should be logged
Reviewed-by: mgerdin, coleenp
2017-07-22 10:03:15 +02:00
Harold Seigel
911f59bc22 8179018: Remove obsoleted one X options from JDK 10
Remove the obsoleted options

Reviewed-by: zgu, coleenp, gtriantafill
2017-07-24 09:32:35 -04:00
Milan Mimica
f647f78764 8182169: ArrayAllocator should take MEMFLAGS as regular parameter
Change ArrayAllocator memflags from template parameter to ordinary function parameters

Reviewed-by: kbarrett, tschatzl
2017-07-21 21:01:59 -04:00
Kim Barrett
3fbf0c2e96 8175318: Performance issue regarding local JNI references
Avoid unnecessary repeated clears.

Reviewed-by: shade, simonis
2017-07-21 16:37:01 -04:00
Roman Kennke
98bd53b5c2 8180932: Parallelize safepoint cleanup
Provide infrastructure to do safepoint cleanup tasks using parallel worker threads

Reviewed-by: dholmes, rehn, dcubed, thartmann
2017-07-07 12:49:11 +02:00
Thomas Stuefe
d12604111c 8181917: Refactor UL LogStreams to avoid using resource area
Reviewed-by: ehelin, mlarsson
2017-07-21 09:50:12 +02:00
Vladimir Kozlov
5c529d31ce 8185013: Disable subword vector analysis optimization until 8184995 is fixed
Reviewed-by: dcubed
2017-07-20 15:53:39 -07:00
Goetz Lindenmaier
d3ae772868 8184800: Streamline RTM flag validity testing with generic flag testing support
Reviewed-by: kvn, lucy
2017-07-18 16:11:28 +02:00
Harold Seigel
9148262d0e 8077203: Avoid unnecessary stripping of package names from FQN's in is_same_class_package() methods
Extract package name from instance klass's package entry record

Reviewed-by: redestad, coleenp, lfoltan
2017-07-20 11:01:20 -04:00
Vladimir Kozlov
f82f128416 8184809: [AOT] AsyncGetCallTrace() code should recognize AOT code
Reviewed-by: iveresov, shade
2017-07-19 18:17:06 -07:00
Vivek Deshpande
91e715f9f3 8175096: Analyse subword in the loop to set maximum vector size
Reviewed-by: kvn
2017-07-19 08:29:44 -07:00
Tobias Hartmann
dabb4ab518 8184009: Missing null pointer check in InterpreterRuntime::update_mdp_for_ret()
Adds a missing null check (guarantee) found by Parfait.

Reviewed-by: coleenp, shade
2017-07-19 09:00:13 +02:00
Coleen Phillimore
10d2df3f6d Merge 2017-07-18 19:56:18 +00:00
Matthias Baesken
cf1044d114 8184323: compile-time guard some UseSharedSpaces-only coding with the INCLUDE_CDS macro
Reviewed-by: jiangli, shade, simonis
2017-07-18 15:46:04 -04:00
Erik Österlund
e1a674e323 Merge 2017-07-18 14:37:42 +02:00
Aleksey Shipilev
03a7858eb4 8184753: Asserts against MinObjectAlignment should avoid integer division
Delegate to is_object_aligned that does the right thing

Reviewed-by: mgerdin, tschatzl
2017-07-18 10:20:52 +02:00
Aleksey Shipilev
e8485a5e09 8184762: ZapStackSegments should use optimized memset
Reviewed-by: rkennke, mgerdin
2017-07-18 09:53:54 +02:00
Mikael Gerdin
cfd0efee84 8183935: G1GCPhaseTimes and G1RootProcessor do not include macros.hpp
Reviewed-by: tschatzl, ehelin
2017-07-17 09:30:07 +02:00
Daniel D. Daugherty
040ada2f40 Merge 2017-07-17 09:21:48 -07:00
Thomas Schatzl
291f992e67 Merge 2017-07-17 14:20:24 +00:00
Thomas Schatzl
abf0bf4338 8183538: UpdateRS phase should claim cards
Have the Update RS phase also claim cards so that they will not be rescanned later during Scan RS.

Reviewed-by: ehelin, mgerdin
2017-07-17 15:26:07 +02:00
Mikael Gerdin
63ac8937a1 Merge 2017-07-17 13:16:33 +00:00