311 Commits

Author SHA1 Message Date
Stefan Karlsson
e527ce4b57 8234562: Move OrderAccess::release_store*/load_acquire to Atomic
Reviewed-by: rehn, dholmes
2019-11-25 12:22:13 +01:00
Ioi Lam
2429c8a484 8233446: Improve error handling when specified dynamic archive doesn't exist
Reviewed-by: lfoltan, ccheung
2019-11-22 15:31:52 -08:00
Ioi Lam
af586a9cf2 8234429: appcds/dynamicArchive tests crashing with Graal
Reviewed-by: ccheung
2019-11-22 14:48:40 -08:00
Per Lidén
13ce4cdf2a 8234438: Remove some CMS leftovers
Reviewed-by: kbarrett, sjohanss
2019-11-20 10:37:46 +01:00
Per Lidén
08822b4e05 8234437: Remove CollectedHeap::safe_object_iterate()
Reviewed-by: kbarrett, sjohanss
2019-11-20 10:37:46 +01:00
Lutz Schmidt
62d6862485 8231460: Performance issue (CodeHeap) with large free blocks
Reviewed-by: adinn, stuefe
2019-11-20 09:12:07 +01:00
Christoph Göttschkes
b3860fd4da 8234324: ARM32 build broken after 8231610
Reviewed-by: iklam, aph
2019-11-18 13:22:27 +01:00
Daniel D. Daugherty
e9e1948cfb 8234274: [BACKOUT] JDK-8204128 NMT might report incorrect numbers for Compiler area
Reviewed-by: zgu
2019-11-15 21:19:56 -05:00
Zhengyu Gu
5f19f8c823 8204128: NMT might report incorrect numbers for Compiler area
Reviewed-by: stuefe, tschatzl
2019-11-15 15:33:34 -05:00
Ioi Lam
538843632d 8234133: VM build broken due to memory/archiveUtils.inline.hpp
Reviewed-by: dholmes
2019-11-13 19:55:11 -08:00
Ioi Lam
5678f98a9e 8231610: Relocate the CDS archive if it cannot be mapped to the requested address
Reviewed-by: jiangli, coleenp, ccheung
2019-11-13 16:36:54 -08:00
Coleen Phillimore
ed21b56269 8233913: Remove implicit conversion from Method* to methodHandle
Fix call sites to use existing THREAD local or pass down THREAD local for shallower callsites. Make linkResolver methods return Method* for caller to handleize if needed.

Reviewed-by: iklam, thartmann, hseigel
2019-11-13 08:23:23 -05:00
Leo Korinth
1fc67ab002 8232365: Implementation for JEP 363: Remove the Concurrent Mark Sweep (CMS) Garbage Collector
Reviewed-by: kbarrett, tschatzl, erikj, coleenp, dholmes
2019-11-13 11:37:29 +01:00
Aleksey Shipilev
a57683f3e0 8233698: GCC 4.8.5 build failure after JDK-8233530
Reviewed-by: stuefe, dholmes, kbarrett
2019-11-06 19:37:30 +01:00
Thomas Stuefe
1be39aa9c7 8233530: gcc 5.4 build warning -Wc++14-compat after JDK-8233359
Reviewed-by: dholmes, goetz
2019-11-05 16:57:58 +01:00
Kim Barrett
5dafc279a7 8233359: Add global sized operator delete definitions
Added new definitions.

Reviewed-by: dholmes
2019-11-01 16:21:17 -04:00
Thomas Schatzl
5a21a8c4dd 8230706: Waiting on completion of strong nmethod processing causes long pause times with G1
Instead of globally waiting for completion of strong nmethod processing during evacuation, synchronize the nmethods processing on a per-nmethod basis so that only one thread processes one nmethod at once using a state. This state indicates what work (strong/weak processing) needs to be done and what has already been done.

Reviewed-by: sjohanss, kbarrett
2019-10-24 11:08:16 +02:00
Lois Foltan
fce4320369 8231844: Enhance type signature characters in classfile_constants.h and improve the JVM to use type signature characters more consistently
Increase the use of type signature constants instead of hard coded characters within the JVM.

Co-authored-by: John Rose <john.r.rose@oracle.com>
Reviewed-by: coleenp, dholmes, fparain
2019-10-21 13:13:16 -04:00
Calvin Cheung
b08a8c5cc3 8231606: _method_ordering is not set during CDS dynamic dump time
Add the missing DynamicDumpSharedSpaces check in sort_methods(); replace the (DumpSharedSpaces || DynamicDumpSharedSpaces) with the Arguments::is_dumping_archive() function call.

Reviewed-by: iklam, coleenp, jiangli
2019-10-02 16:55:08 -07:00
Ioi Lam
35bfbfd600 8231278: Rename FileMapHeader::_read_only_tables_start to _serialized_data_start
Reviewed-by: ccheung
2019-09-23 19:55:26 -07:00
Ioi Lam
7c2de83027 8231257: Avoid calling FileMapInfo::write_region twice
Reviewed-by: ccheung
2019-09-23 19:54:37 -07:00
Lois Foltan
0c507f3180 8230505: Replace JVM type comparisons to T_OBJECT and T_ARRAY with call to is_reference_type
Consistently use is_reference_type when comparing type for T_OBJECT or T_ARRAY.

Co-authored-by: John Rose <john.r.rose@oracle.com>
Reviewed-by: dlong, coleenp, hseigel
2019-09-23 14:49:04 -04:00
Per Lidén
89b0250e4a 8231051: Remove check_obj_alignment() and replace with is_object_aligned()
Reviewed-by: tschatzl, shade
2019-09-17 09:51:02 +02:00
Per Lidén
2d6874b861 8230841: Remove oopDesc::equals()
Reviewed-by: rkennke, tschatzl
2019-09-17 09:51:02 +02:00
Calvin Cheung
e8ee2800f5 8186988: use log_warning() and log_error() instead of tty->print_cr for CDS warning and error messages
Reviewed-by: stuefe, iklam, dholmes
2019-09-12 09:59:19 -07:00
Ioi Lam
988ac4fec0 8230586: Encapsulate fields in filemap.hpp
Reviewed-by: ccheung
2019-09-11 18:31:25 -07:00
Leo Korinth
4b6f9ed07f 8230398: Remove NULL checks before FREE_C_HEAP_ARRAY
Reviewed-by: dholmes, kbarrett, tschatzl
2019-09-11 14:16:30 +02:00
Leo Korinth
eafb888c18 8227168: Cleanup usage of NEW_C_HEAP_ARRAY
Reviewed-by: coleenp, dholmes, kbarrett, tschatzl
2019-09-11 14:16:27 +02:00
Erik Österlund
f869706f5f 8224815: Remove non-GC uses of CollectedHeap::is_in_reserved()
Reviewed-by: stefank, coleenp
2019-09-05 08:26:49 +02:00
Matthias Baesken
b7821ad399 8224214: [AIX] Remove support for legacy xlc compiler
Reviewed-by: erikj, kbarrett, mdoerr, dholmes
2019-08-30 09:37:41 +02:00
Ioi Lam
87eefe2e00 8227370: Remove SharedPathsMiscInfo
Reviewed-by: ccheung, jiangli
2019-08-27 22:14:52 -07:00
Ioi Lam
11ca73d744 8230168: Use ClasspathStream for FileMapInfo::create_path_array
Reviewed-by: lfoltan, fparain
2019-08-27 22:14:15 -07:00
Claes Redestad
99bf89c581 8228507: Archive FDBigInteger
Reviewed-by: jiangli, bpb
2019-08-27 22:26:42 +02:00
Stefan Karlsson
e1aca70a1c 8229836: Remove include of globals.hpp from allocation.hpp
Reviewed-by: coleenp, kbarrett
2019-08-26 09:13:38 +02:00
Kim Barrett
1acad37ee6 8227054: ServiceThread needs to know about all OopStorage objects
8227053: ServiceThread cleanup of OopStorage is missing some

OopStorages provides named access and iteration.

Reviewed-by: eosterlund, pliden, coleenp
2019-08-21 18:42:30 -04:00
Stefan Karlsson
a3d6be2b2d 8229838: Rename markOop files to markWord
Reviewed-by: dholmes, rehn
2019-08-19 11:30:03 +02:00
Stefan Karlsson
ae5615c614 8229258: Rework markOop and markOopDesc into a simpler mark word value carrier
Reviewed-by: rkennke, coleenp, kbarrett, dcubed
2019-08-06 10:48:21 +02:00
Mikael Vidstedt
895db11053 Merge 2019-07-29 09:59:04 -07:00
Calvin Cheung
fc7aa2306c 8228407: JVM crashes with shared archive file mismatch
Stop processing other header fields if initial header check has failed.

Reviewed-by: dholmes, jiangli
2019-07-25 10:25:52 -07:00
Martin Doerr
d2611c4e2c 8227692: Remove develop feature PrintMallocStatistics
Reviewed-by: coleenp, dcubed
2019-07-19 10:18:48 +02:00
Mikael Vidstedt
f08a9de3b2 Merge 2019-07-17 04:33:37 -07:00
Calvin Cheung
a6b4e5c3d1 8226406: JVM fails to detect mismatched or corrupt CDS archive
Check important archive header fields such as _jvm_ident before processing other fields.

Reviewed-by: iklam, jiangli
2019-07-12 08:40:37 -07:00
Erik Österlund
f111dd0cbb 8224531: SEGV while collecting Klass statistics
Reviewed-by: coleenp, kbarrett, tschatzl
2019-07-09 16:39:41 +02:00
Erik Österlund
a577b1a972 8227277: HeapInspection::find_instances_at_safepoint walks dead objects
Reviewed-by: dholmes, kbarrett, tschatzl, coleenp
2019-07-09 16:39:37 +02:00
Mikael Vidstedt
ff3eeb4773 Merge 2019-07-09 16:37:30 -07:00
Mikael Vidstedt
15bde6d32d Merge 2019-07-05 11:01:31 -07:00
Thomas Stuefe
0fa1047733 8227041: runtime/memory/RunUnitTestsConcurrently.java has a memory leak
Reviewed-by: stefank, coleenp
2019-07-02 10:28:20 +02:00
Thomas Stuefe
ba3ba19536 8227032: MetaspaceUtils::print_report crashes when called before initialization
Reviewed-by: tschatzl, goetz
2019-07-01 16:28:17 +02:00
Antonios Printezis
dacaff48e2 8223575: add subspace transitions to gc+metaspace=info log lines
Reviewed-by: stuefe, tschatzl
2019-07-03 15:46:48 -04:00
Thomas Stuefe
4598deaf64 8227041: runtime/memory/RunUnitTestsConcurrently.java has a memory leak
Reviewed-by: stefank, coleenp
2019-07-02 10:28:20 +02:00