838 Commits

Author SHA1 Message Date
Thomas Schatzl
fd0d572bb5 8202842: G1 footprint regressions in jdk11+10
Lazily initialize G1FromCardCache to save on startup footprint if AlwaysPretouch is disabled.

Reviewed-by: sjohanss, redestad
2018-05-28 11:13:21 +02:00
Per Lidén
d830d47d91 8203817: Monitor::try_lock() should not call check_prelock_state()
Reviewed-by: dholmes, eosterlund, rehn
2018-05-28 09:59:11 +02:00
Kim Barrett
6c20824cda 8203028: Simplify reference processing in light of JDK-8175797
Removed special handling of Reference.next

Reviewed-by: tschatzl, sjohanss, mchung
2018-05-26 03:11:50 -04:00
Magnus Ihse Bursie
0e24d79bf9 8203221: Makefile fixes after Flight Recorder
Reviewed-by: erikj
2018-05-25 10:14:27 +02:00
Tobias Hartmann
2d00538d92 8202949: C2: assert(false) failed: Bad graph detected in build_loop_late
Fixed trip count computation for counted loop with negative stride to prevent over-unrolling.

Reviewed-by: roland
2018-05-25 09:05:42 +02:00
Calvin Cheung
55b6a9b02b 8203354: assert in ClassLoader::update_module_path_entry_list() could have incorrect message
Converting the assert in ClassLoader::update_module_path_entry_list() to a meaningful error message before aborting the CDS dump.

Reviewed-by: stuefe, iklam
2018-05-24 09:15:09 -07:00
Roland Westrelin
76bb390810 8202950: C2: assert(found_sfpt) failed: no node in loop that's not input to safepoint
Reviewed-by: neliasso, kvn
2018-05-24 09:59:57 +02:00
Nils Eliasson
ac9f93a147 8192992: Test8007294.java failed: attempted to spill a non-spillable item
Fix bugs in schedule_late that forces load to early

Reviewed-by: kvn, thartmann
2018-03-21 16:03:12 +01:00
Markus Grönlund
ae106e353a 8203457: Add back missing full buffer notification
Reviewed-by: redestad, sjohanss
2018-05-23 15:21:54 +02:00
Stefan Karlsson
6c2e9e1981 8203490: StringTable::dump lacks a load barrier
Reviewed-by: coleenp, pliden
2018-05-23 09:43:41 +02:00
Stefan Karlsson
88aa1562f7 8203694: Add a safepoint-aware Semaphore - part 2
Reviewed-by: dholmes, pliden
2018-05-23 09:42:42 +02:00
Zhengyu Gu
7a898e3e81 8203635: JFR sampler thread does not record stack info
Added call to record_stack_base_and_size() from sampler thread

Reviewed-by: shade, coleenp, stuefe
2018-05-22 14:49:39 -04:00
Coleen Phillimore
37e51f4074 8202669: Intermittent crash in ClassLoadingService::compute_class_size()
Don't report classes that failed to load when reporting class unloading. Remove the classes first.

Reviewed-by: dholmes, lfoltan, ccheung
2018-05-22 13:10:56 -04:00
Ioi Lam
1ae12b4328 8203381: Replace InstanceKlass::allocate_instance_handle with JavaCalls::construct_new_instance
Reviewed-by: lfoltan, dholmes, coleenp, minqi
2018-05-18 09:15:08 -07:00
Kim Barrett
66b0c9fe9c 8202863: Rename OopStorage inner collection classes
Rename BlockArray, BlockList, BlockEntry

Reviewed-by: coleenp
2018-05-22 03:46:52 -04:00
Tobias Hartmann
e30f2aee4f 8202848: -XX:+ExecuteInternalVMTests asserts with "assert(cd.valid() == true) failed: failed on a valid DirectivesParser string"
Use "C" locale for correct parsing of decimals in VM internal compiler directive tests.

Reviewed-by: dholmes, coleenp, stuefe, dcubed
2018-05-22 09:10:16 +02:00
Tobias Hartmann
f9ac81abcd 8203196: C1 emits incorrect code due to integer overflow in _tableswitch keys
Avoid integer overflow in TableSwitch().

Reviewed-by: goetz, mdoerr, vlivanov
2018-05-22 09:04:15 +02:00
Ioi Lam
f9742fc0a6 8193332: MetaspaceShared::check_shared_class_loader_type is not used during archive creation
Reviewed-by: lfoltan, jiangli
2018-05-21 21:27:12 -07:00
Coleen Phillimore
6216182dd1 8202853: NotifyCount is not initialized
Remove NotifyCount

Reviewed-by: jiangli
2018-05-21 17:17:24 -04:00
Jiangli Zhou
422e112ffd 8199807: AppCDS performs overly restrictive path matching check
8203377: Cleanup the usage of os::file_name_strcmp() in SharedPathsMiscInfo::check()

Relax CDS/AppCDS path check for modules image.

Reviewed-by: iklam, ccheung
2018-05-21 15:15:58 -04:00
Volker Simonis
48fb34d596 8203292: Print complete set of flags in the hs_err file
Prints non-default flags to hs_err file

Reviewed-by: gziemski, dholmes
2018-05-21 11:09:58 -05:00
Erik Gahlin
cffef5d38c 8195817: JFR.stop should require name of recording
Reviewed-by: mgronlun
2018-05-21 17:38:46 +02:00
Thomas Stuefe
8f71718566 8176808: Split up metaspace.cpp
Reviewed-by: asiebenborn, coleenp
2018-05-21 11:33:59 +02:00
Stefan Karlsson
379a001e5e 8203341: Add a safepoint-aware Semaphore
Reviewed-by: pliden, eosterlund
2018-05-20 22:10:45 +02:00
Stefan Karlsson
7b0d398bc7 8203339: Add oopDesc::field_offset()
Reviewed-by: rkennke, eosterlund
2018-05-20 22:08:25 +02:00
Coleen Phillimore
768632f24b 8202014: Possible to receive signal before signal semaphore created
Initialize jdk.internal.misc.Signal in os_init2 and rename initialization functions.

Reviewed-by: dholmes, stuefe
2018-05-18 15:56:42 -04:00
Erik Österlund
53ec88908c 8202377: Modularize C2 GC barriers
Reviewed-by: neliasso, roland
2018-05-18 14:51:06 +02:00
Per Lidén
dface12e6d 8203227: Introduce os::processor_id() for Linux and Solaris
Reviewed-by: dholmes, rehn
2018-05-18 15:21:23 +02:00
Goetz Lindenmaier
87ca9d07df 8203400: Fix issue with "8199852: Print more information about class loaders in LinkageErrors."
Reviewed-by: dholmes, lfoltan
2018-05-18 10:59:04 +02:00
Severin Gehwolf
003b10c2bc 8203287: Zero fails to build after JDK-8199712 (Flight Recorder)
Reviewed-by: shade, mdoerr
2018-05-16 15:25:51 +02:00
Nils Eliasson
fbbbc35d32 8203215: IdealLoopTree::split_outer_loop leaves phi-nodes with only one input
Make sure the phis are transformed

Reviewed-by: roland, kvn, rbackman
2018-05-17 12:08:32 +02:00
Markus Grönlund
203359ffe1 8203346: JFR: Inconsistent signature of jfr_add_string_constant
Reviewed-by: shade
2018-05-17 14:31:31 +02:00
Martin Doerr
2dd143b06f 8203288: PPC64 and s390 fail to build after JDK-8199712 (Flight Recorder)
Reviewed-by: shade
2018-05-17 14:16:49 +02:00
Robbin Ehn
1dfeaa1980 8195098: Low latency hashtable for read-mostly scenarios
This implement a concurrent hashtable using chaining and the GlobalCounter for ABA problems.

Reviewed-by: acorn, coleenp, dcubed, eosterlund, gziemski, mlarsson
2018-05-17 10:32:26 +02:00
Igor Veresov
9bb5902092 8201447: C1 does backedge profiling incorrectly
Increment backedge counter only for backward arms of conditional branches.

Reviewed-by: never, kvn
2018-05-16 15:19:28 -07:00
Ioi Lam
5f578213c5 8189140: SystemDictionaryShared::initialize() should be renamed to be more meaningful
Removed this function, added JavaCalls::construct_new_instance and moved SharedDictionary_lock

Reviewed-by: jiangli, ccheung, dholmes, coleenp
2018-05-15 14:49:10 -07:00
Aleksey Shipilev
5ee4a26ecb 8203285: Minimal VM fails to build after JDK-8199712 (Flight Recorder)
Reviewed-by: mgronlun
2018-05-16 13:14:58 +02:00
Aleksey Shipilev
6bca38c321 8203274: 32-bit build failures after JDK-8199712 (Flight Recorder)
Reviewed-by: mgronlun
2018-05-16 12:38:35 +02:00
Aleksey Shipilev
e5a8494286 8203278: AArch64/PPC64 build failures after JDK-8199712 (Flight Recorder)
Reviewed-by: mgronlun
2018-05-16 12:38:34 +02:00
Per Lidén
e8eb07d805 8203220: Introduce ATTRIBUTE_ALIGNED macro
Reviewed-by: tschatzl, kbarrett
2018-05-16 10:24:54 +02:00
Alexander Harlap
c57afa5fbf 8189271: Metaspace::_capacity_until_GC should be size_t
Change of member and some related local variables.

Reviewed-by: tschatzl, stuefe
2018-05-15 19:26:00 -04:00
Aleksey Shipilev
425cd17400 8203251: Non-PCH build failed after JDK-8199712 (Flight Recorder)
Reviewed-by: mgronlun
2018-05-15 23:37:37 +02:00
Erik Gahlin
a060be188d 8199712: Flight Recorder
Co-authored-by: Markus Gronlund <markus.gronlund@oracle.com>
Reviewed-by: coleenp, ihse, erikj, dsamersoff, mseledtsov, egahlin, mgronlun
2018-05-15 20:24:34 +02:00
Andrew Haley
0d6885f792 8185505: AArch64: Port AOT to AArch64
Reviewed-by: kvn
2018-05-14 12:03:59 +01:00
Per Lidén
875d55e903 8202976: Add C1 lea patching support for x86
Reviewed-by: kvn, neliasso
2018-05-14 15:42:59 +02:00
Per Lidén
a6b12a847c 8202994: Add support for undoing last TLAB allocation
Reviewed-by: shade, stefank
2018-05-14 15:42:58 +02:00
Nils Eliasson
d822b86df8 8193935: Illegal countedLoops transformation
Truncation can sometimes not be removed

Reviewed-by: kvn
2018-05-14 14:10:52 +02:00
Nils Eliasson
86728689bf 8201532: Update idom to get correct dom depth calculation
Assert due to dom depth calculation on old idom

Reviewed-by: roland
2018-05-14 14:10:50 +02:00
Thomas Schatzl
ec2d9845e0 8201491: G1 support for java.lang.ref.Reference precleaning
Implement single-threaded concurrent reference precleaning for G1.

Reviewed-by: sangheki, kbarrett
2018-05-14 11:47:03 +02:00
Thomas Schatzl
6ff0af73ce 8202829: Implement CollectedHeap::get_safepoint_workers() for G1
Use the parallel STW worker gang to do safepoint work.

Reviewed-by: rkennke, eosterlund, pliden
2018-05-14 11:47:03 +02:00