423 Commits

Author SHA1 Message Date
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
Ao Qi
095da5385c 8226967: Minimal VM: FALSE was not declared in this scope
Reviewed-by: dholmes
2019-07-01 12:50:34 +08:00
Calvin Cheung
5d1361df03 8211723: AppCDS: referring to a jar file in any way other than exactly how it was done during dumping doesn't work
Replaced os::file_name_strncmp() with os::same_files().

Reviewed-by: iklam, jiangli
2019-06-28 09:49:10 -07:00
Calvin Cheung
f1a897b494 8224710: [TESTBUG] dynamicArchive/ExcludedClasses.java test failed in tier6 testing on Windows
Account for the failure in loading of the base archive in CDSTestUtils::isUnableToMap().

Reviewed-by: jiangli, iklam
2019-06-12 10:45:46 -07:00
Sangheon Kim
62d7317f86 8225478: Make G1CMRootRegions independent of HeapRegions
Remove dependency of HeapRegion from G1CMRootRegions class

Reviewed-by: tschatzl, kbarrett
2019-06-12 10:34:29 +02:00
Stefan Karlsson
02a31bf561 8227175: ZGC: ZHeapIterator visits potentially dead objects
Reviewed-by: zgu, eosterlund
2019-06-10 13:04:12 +02:00
Calvin Cheung
d0725682a8 8224497: Remove FIXME in metaspaceClosure.cpp
Also cleaned up some comment and code related to the od (optional data) region.

Reviewed-by: iklam, jiangli
2019-06-07 14:03:17 -07:00
Nick Gasson
72daa46d46 8224853: CDS address sanitizer errors
Reviewed-by: iklam, dholmes
2019-06-04 17:56:16 +08:00
Ioi Lam
43e23020f2 8224692: runtime/appcds tests crash in "HotSpotJVMCI::compute_offset" when running in Graal as JIT mode
Reviewed-by: ccheung
2019-05-31 12:51:36 -07:00
Stefan Karlsson
4914e0ee95 8224203: Remove need to specify type when using FLAG_SET macros
Reviewed-by: rehn, pliden, coleenp
2019-05-22 13:06:31 +02:00
Lutz Schmidt
aa720e27c5 8223444: Improve CodeHeap Free Space Management
Reviewed-by: kvn, thartmann
2019-05-20 17:44:29 +02:00
Aleksey Shipilev
65d4cabd51 8224170: Build failures after JDK-8207812 (Implement Dynamic CDS Archive)
Reviewed-by: stuefe, kvn
2019-05-18 18:49:39 +02:00
Calvin Cheung
72dc5721e0 8207812: Implement Dynamic CDS Archive
Improve the usability of AppCDS

Co-authored-by: Ioi Lam <ioi.lam@oracle.com>
Co-authored-by: Jiangli Zhou <jianglizhou@google.com>
Reviewed-by: acorn, jiangli, mseledtsov
2019-05-17 08:29:55 -07:00
Coleen Phillimore
204059634d 8223657: Remove unused THREAD argument from SymbolTable functions
Also made lookup and lookup_only functions private to SymbolTable.  External callers use new_symbol or probe.

Reviewed-by: dholmes, gziemski
2019-05-14 11:29:18 -04:00
Coleen Phillimore
2a48a29c33 8219459: oopDesc::is_valid() is broken
Use Metaspace::contains() to test address ranges.

Reviewed-by: mdoerr, stuefe, jiangli
2019-05-14 08:52:51 -04:00
Claes Redestad
cc6cc06183 8221478: Disable VerifySharedSpaces by default
Reviewed-by: iklam, dholmes
2019-05-14 12:00:49 +02:00
Stefan Karlsson
feeab37ce7 8223637: Fix build breakage after 8223136
Co-authored-by: Lutz Schmidt <lutz.schmidt@sap.com>
Co-authored-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Co-authored-by: Aleksey Shipilev <shade@redhat.com>
Reviewed-by: stefank, coleenp
2019-05-11 13:10:24 +02:00
Thomas Stuefe
f891192100 8222015: Small VM.metaspace improvements
Reviewed-by: jiangli, coleenp
2019-04-05 11:52:32 +02:00
Stefan Karlsson
c90f3ee68b 8223624: Cleanup includes of universe.hpp
Reviewed-by: coleenp, lkorinth
2019-05-09 14:28:30 +02:00
Stefan Karlsson
819cde280c 8223623: Move oopFactory function definitions out of oopFactory.hpp
Reviewed-by: coleenp, lkorinth
2019-05-09 14:26:52 +02:00
Stefan Karlsson
e321fd163d 8223619: Move VerifyOption out of Universe
Reviewed-by: coleenp, lkorinth
2019-05-09 14:26:03 +02:00
Stefan Karlsson
5a8ba256df 8223136: Move compressed oops functions to CompressedOops class
Reviewed-by: coleenp, lkorinth
2019-05-09 14:26:03 +02:00
Gerard Ziemski
d988e67b89 8185525: Add JFR event for DictionarySizes
Added TableStatistics event

Reviewed-by: egahlin, coleenp
2019-05-08 11:11:50 -05:00
Stefan Karlsson
087c03a0c7 8198505: Remove CollectorPolicy and its subclasses
Reviewed-by: pliden, shade
2019-04-15 11:47:46 +02:00
Vladimir Kozlov
e9c523ae5f 8220623: [JVMCI] Update JVMCI to support JVMCI based Compiler compiled into shared library
Reviewed-by: dnsimon, never, stefank, rehn, neliasso, dholmes, kbarrett, coleenp
2019-05-01 12:31:29 -07:00
Coleen Phillimore
fbafef11c0 8222811: Consolidate MutexLockerEx and MutexLocker
Make MutexLocker be MutexLockerEx implementation, remove MutexLockerEx calls.

Reviewed-by: dcubed, dholmes, pliden, rehn
2019-04-25 10:56:31 -04:00
Stefan Karlsson
3e581f13a0 8222558: Rework ResolvedMethodTable verification
Reviewed-by: coleenp
2019-04-17 07:41:09 +02:00
Coleen Phillimore
733d251078 8222379: JFR TestClassLoadEvent.java failed due to EXCEPTION_ACCESS_VIOLATION
Give fatal error if CDS loses archive mapping.

Reviewed-by: iklam, ccheung, jiangli
2019-04-18 07:02:07 -04:00
Thomas Stuefe
1baf5289c5 8221539: [metaspace] Improve MetaspaceObj::is_metaspace_obj() and friends
Reviewed-by: adinn, coleenp, mdoerr
2019-03-27 14:13:34 +01:00
Claes Redestad
5c06e0a912 8221701: Archive constant BaseLocales
Reviewed-by: naoto
2019-04-03 17:06:35 +02:00
Per Lidén
a7dd794beb 8221648: Remove CollectedHeap::is_in_closed_subset()
Reviewed-by: kbarrett, tschatzl
2019-04-02 10:04:25 +02:00
Ao Qi
460c22f03d 8221763: Build fails when using --with-jvm-features=-g1gc,-jfr,-shenandoahgc
Add missing #include of softRefPolicy.hpp

Reviewed-by: kbarrett
2019-04-02 00:23:31 +08:00
Ioi Lam
22484b8c35 8221698: Remove redundant includes from popular header files
Removed histogram.hpp classLoader.hpp utf8.hpp moduleEntry.hpp packageEntry.hpp

Reviewed-by: coleenp, stuefe
2019-03-30 08:26:20 -07:00
Thomas Stuefe
be4416fdda 8221480: jcmd VM.metaspace shall print limits in basic mode
Reviewed-by: adinn, rehn
2019-03-26 16:26:33 +01:00
Ioi Lam
e2ffa15762 8221351: Crash in KlassFactory::check_shared_class_file_load_hook
Reviewed-by: dholmes, ccheung
2019-03-29 08:42:32 -07:00
Claes Redestad
c013c7bd2f 8214712: Archive Attributes$Name.KNOWN_NAMES
Reviewed-by: alanb, jiangli
2018-12-03 16:25:27 +01:00
Claes Redestad
bf2d6a2838 8220682: Heap dumping and inspection fails with JDK-8214712
Reviewed-by: jcbeyler, jiangli, sspitsyn
2019-03-26 10:23:11 +01:00
Coleen Phillimore
5c5089b0a2 8220512: Deoptimize redefinition functions that have dirty ICs
Walk ICs to determine whether nmethods are dependent on redefined classes.

Reviewed-by: sspitsyn, eosterlund
2019-03-15 16:00:18 -04:00
Thomas Stuefe
fb7bbfac57 8218988: Improve metaspace verifications
Reviewed-by: zgu, coleenp
2019-02-10 09:10:42 +01:00