1653 Commits

Author SHA1 Message Date
Erik Österlund
b9052e9647 8208582: Introduce native oop barriers in C1 for OopHandle
Reviewed-by: coleenp, kvn
2018-08-15 09:51:57 +02:00
Gerard Ziemski
b75805c1a5 8195100: Use a low latency hashtable for SymbolTable
Used concurrentHashTable, similar to stringTable

Reviewed-by: coleenp, kbarrett, iklam, pliden
2018-08-14 18:42:14 -05:00
Kim Barrett
773906998a 8209347: SATBMarkQueue.cpp should not need jvm.h
Use os::snprintf instead of jio_snprintf.

Reviewed-by: shade, tschatzl
2018-08-14 14:58:14 -04:00
Kim Barrett
8f31a55f91 8209346: Refactor SATBMarkQueue filter configuration
Moved reference to G1-specific option to G1CollectedHeap.

Reviewed-by: shade, rkennke
2018-08-14 13:16:26 -04:00
Lutz Schmidt
815cdefb43 8209433: [s390] Fix build, broken by 8208672 (Enable -Wreorder)
Reviewed-by: tschatzl, shade
2018-08-14 14:28:23 +02:00
Per Lidén
a51aeedca0 8209376: ZGC: Move ZMarkStackAllocator into a separate file
Reviewed-by: eosterlund, kbarrett
2018-08-13 14:04:43 +02:00
Per Lidén
f50c8dddfa 8209375: ZGC: Use dynamic base address for mark stack space
Reviewed-by: eosterlund, kbarrett
2018-08-13 14:04:42 +02:00
Kim Barrett
924bba584d 8209345: Merge SATBMarkQueueFilter into SATBMarkQueueSet
Move filter extension protocol to SATBMarkQueueSet.

Reviewed-by: shade, tschatzl, rkennke
2018-08-14 00:15:56 -04:00
Kim Barrett
a007690fa0 8209396: Make PtrQueueSets not statically allocated
Change the G1BarrierSet PtrQueueSet static members to ordinary members.

Reviewed-by: shade, tschatzl, rkennke
2018-08-13 18:21:26 -04:00
Claes Redestad
5c3008fbc4 8209120: Archive the Integer.IntegerCache
Reviewed-by: jiangli, alanb, plevart, iklam, mchung
2018-08-13 19:21:43 +02:00
Thomas Schatzl
7aabcdee63 8200365: TestOptionsWithRanges.java of '-XX:TLABWasteTargetPercent=100' fails intermittently
For initial TLAB sizing, increase the number of expected refills to 2.

Reviewed-by: phh, sangheki
2018-08-13 12:24:25 +02:00
Thomas Schatzl
a9508324e2 8209193: Fix aarch64-linux compilation after -Wreorder changes
Reviewed-by: shade, drwhite
2018-08-13 12:24:25 +02:00
Gunter Haug
93c176ef2e 8209357: [PPC64] Fix build which was broken by 8208672 (Enable -Wreorder)
Reviewed-by: mbaesken, tschatzl
2018-08-13 12:24:25 +02:00
Aleksei Voitylov
1712e272cd 8209380: ARM: cleanup maybe-uninitialized and reorder compiler warnings
Reviewed-by: dholmes, drwhite, tschatzl
2018-08-13 12:24:25 +02:00
Aleksei Voitylov
abb7f64829 8209378: Fix Minimal VM after JDK-8208677
Reviewed-by: coleenp, shade
2018-08-13 10:28:01 +02:00
Coleen Phillimore
d1aea148fe 8207924: serviceability/sa/TestUniverse.java#id0 intermittently fails with assert(get_instanceKlass()->is_loaded()) failed: must be at least loaded
InstanceKlass::implementors() needs the Compile_lock

Reviewed-by: thartmann, eosterlund
2018-08-11 12:49:33 -04:00
Coleen Phillimore
647c7d5344 8164683: Solaris: JVM abuses thread preemption control
Complete removal of preemption control and command line arguments (were deprecated in 11).

Reviewed-by: hseigel, pchilanomate, dholmes
2018-08-10 09:36:01 -04:00
Harold Seigel
83b2fb5b0d 8207778: Add locking to ModuleEntry and PackageEntry tables
Restructure ClassLoaderDataGraph code to simplify using locks in SystemDictionary::do_unloading()

Reviewed-by: lfoltan, coleenp
2018-08-10 09:30:26 -04:00
Boris Ulasevich
092e9e4f81 8206895: aarch64: rework error-prone cmp instuction
Reviewed-by: aph
2018-08-10 14:22:49 +03:00
Jiangli Zhou
a5d14313f5 8207263: Store the Configuration for system modules into CDS archive
Archive boot layer Configuration.

Reviewed-by: redestad, iklam, ccheung
2018-08-10 00:35:57 -04:00
Claes Redestad
2c5b52f061 8209186: Rename SimpleThresholdPolicy to TieredThresholdPolicy
Reviewed-by: thartmann, pliden, kvn
2018-08-10 00:20:15 +02:00
Roman Kennke
59ca28bf1c 8209118: Abstract SATBMarkQueueSet's ThreadLocalData access
Reviewed-by: kbarrett, shade
2018-08-09 22:51:48 +02:00
Mikael Vidstedt
83a51d869e Merge 2018-08-09 10:08:07 -07:00
Roman Kennke
cbcc690048 8205523: Explicit barriers for interpreter
Reviewed-by: eosterlund, coleenp
2018-06-22 16:07:15 +02:00
Roman Kennke
f62fa67625 8204969: Asserts in objArrayKlass.cpp need to use _raw variants of obj_addr_at()
Reviewed-by: tschatzl, eosterlund
2018-08-09 17:11:11 +02:00
Per Lidén
f8590345b7 8209127: ZGC: Improve error message when failing to map memory for mark stacks
Reviewed-by: eosterlund, tschatzl
2018-08-09 11:24:30 +02:00
Per Lidén
abb1e458eb 8209126: ZGC: ZMarkStackAllocator::is_initialized() never called
Reviewed-by: eosterlund, tschatzl
2018-08-09 11:24:30 +02:00
Per Lidén
6c7f0f0218 8209125: ZGC: Clean up ZServiceabilityCounters
Reviewed-by: eosterlund, tschatzl
2018-08-09 11:24:30 +02:00
Per Lidén
e05a66c789 8207756: ZGC: jstat should show CGC STW phases
Co-authored-by: Yasumasa Suenaga <yasuenag@gmail.com>
Reviewed-by: pliden, ysuenaga, eosterlund
2018-08-09 11:24:30 +02:00
Xin Liu
e5f3e1b60c 8207965: C2-only debug build fails
Reviewed-by: kvn, iignatyev
2018-08-08 18:38:34 -07:00
Coleen Phillimore
a7b66f6f5e 8208677: Move inner metaspace cleaning out of class unloading
Move to safepoint cleanup actions to do if needed.

Reviewed-by: eosterlund, hseigel
2018-08-08 15:24:21 -04:00
Thomas Schatzl
9c0720b156 8208671: Runtime, JFR, Serviceability changes to allow enabling -Wreorder
Reviewed-by: dholmes, hseigel
2018-08-08 15:31:07 +02:00
Thomas Schatzl
e98c176026 8208670: Compiler changes to allow enabling -Wreorder
Reviewed-by: kvn
2018-08-08 15:31:06 +02:00
Thomas Schatzl
d702d5f8d2 8208669: GC changes to allow enabling -Wreorder
Reviewed-by: kbarrett
2018-08-08 15:31:06 +02:00
Coleen Phillimore
a6a078ee4f 8208575: Remove Atomic::add/sub for short
Removed code to atomic::add for short because it's no longer used for Symbol.

Reviewed-by: iklam
2018-08-07 19:35:50 -04:00
Ioi Lam
1b2e7cbaef 8208999: Some use of Klass* should be replaced by InstanceKlass*
Klass::java_super() => InstanceKlass*; InstanceKlass::{local,transitive}_interfaces() => Array<InstanceKlass*>*

Reviewed-by: coleenp, hseigel
2018-08-07 15:45:07 -07:00
Harold Seigel
82186ce311 8208604: Metadata::print_value_string() compares 'this' to NULL
Remove the comparison and add asserts to check for NULL

Reviewed-by: coleenp, gziemski
2018-08-06 14:20:58 -04:00
Phil Race
32ec91ca9b Merge 2018-08-03 09:42:57 -07:00
Zhengyu Gu
4555c28590 8205921: Optimizing best-of-2 work stealing queue selection
Bias towards stealing from queues that we recently successfully stole from to decrease the number of unsuccessful steal attempts.

Co-authored-by: Thomas Schatzl <thomas.schatzl@oracle.com>
Reviewed-by: eosterlund, kbarrett
2018-08-03 11:06:10 +02:00
Zhengyu Gu
23db5cd8a0 8208635: Minimal VM build is broken after JDK-8199868 (Support JNI critical functions in object pinning API)
Added missing header file

Reviewed-by: shade, gziemski
2018-08-02 11:13:00 -04:00
Kim Barrett
501fc494c0 8208611: Refactor SATBMarkQueue filtering to allow GC-specific filters
Add SATBMarkQueueFilter.

Reviewed-by: tschatzl, eosterlund, rkennke
2018-08-01 19:14:04 -04:00
Igor Ignatyev
65091f8c6d 8174691: [TESTBUG] A number of native hotspot unit tests fail when executed in stand-alone mode
Reviewed-by: kvn, tschatzl
2018-08-01 10:04:08 -07:00
Harold Seigel
38db1d1620 8202171: Some oopDesc functions compare this with NULL
Add Method* parameter and made verify* methods static to avoid 'this' comparison with NULL, Added NULL checks before calling print_on() methods.

Reviewed-by: kbarrett, coleenp
2018-07-31 14:24:10 -04:00
Zhengyu Gu
b71f3e7104 8199868: Support JNI critical functions in object pinning API
Pin/unpin incoming array arguments of critical native JNI call

Reviewed-by: shade, adinn
2018-07-31 13:12:06 -04:00
Harold Seigel
7d04a31fc8 8208399: Metadata methods print_(value_)on_maybe_null() compare 'this' to NULL
Add Method* parameter and make method static to avoid 'this' comparison with NULL

Reviewed-by: lfoltan, gziemski, coleenp
2018-07-31 09:55:09 -04:00
Zhengyu Gu
c9d506055c 8208499: NMT: Missing memory tag for Safepoint polling page
Added missing memory tag and cleanup memory type enum

Reviewed-by: shade, coleenp
2018-07-31 07:35:16 -04:00
Harold Seigel
c277f9ed8e 8207779: Method::is_valid_method() compares 'this' with NULL
Add Method* parameter and make method static to avoid 'thi's comparison with NULL

Reviewed-by: lfoltan, coleenp
2018-07-30 16:35:54 -04:00
Patricio Chilano Mateo
2d1029c256 8171157: Convert ObjectMonitor_test to GTest
Migration of the ObjectMonitor test to GTest. Two GTests were actually created, one for ObjectMonitor and one for ObjectSynchronizer.

Reviewed-by: dcubed, hseigel
2018-07-27 16:29:36 -04:00
Thomas Schatzl
74a31c5c16 8208297: Allow printing of taskqueue stats if compiled in in product builds
Reviewed-by: kbarrett
2018-07-27 09:49:03 +02:00
Alex Menkov
2a213d1685 8199155: Accessibility issues in jdk.jdi
Reviewed-by: dtitov, sspitsyn
2018-07-26 11:31:15 -07:00