386 Commits

Author SHA1 Message Date
Thomas Stuefe
e4f51809e4 8212173: Thread._stack_base/_stack_size initialized too late for new threads
Reviewed-by: dholmes, simonis
2018-10-19 09:39:29 +02:00
Aleksey Shipilev
a633b90085 8212754: Build failure: undefined JvmtiSampledObjectAllocEventCollector::object_alloc_is_safe_to_sample
Reviewed-by: jcbeyler, zgu, coleenp
2018-10-23 10:55:59 +02:00
Mandy Chung
5e6d6b8642 8207146: Rename jdk.internal.misc.Unsafe::xxxObject to xxxReference
Reviewed-by: dholmes, thartmann
2018-10-22 17:00:04 -07:00
Roman Kennke
89d9a60caa 8212186: JVMTI lacks a few GC barriers/hooks
Reviewed-by: eosterlund, shade
2018-10-17 22:26:41 +02:00
David Holmes
dfcc6b3878 8211909: JDWP Transport Listener: dt_socket thread crash
Reviewed-by: dcubed, dsamersoff
2018-10-16 19:07:47 -04:00
Harold Seigel
794d864feb 7041262: VM_Version should be called instead of Abstract_VM_Version so that overriding works
Change calls to Abstract_VM_Version methods to be calls to VM_Version methods.

Reviewed-by: coleenp, kbarrett, dholmes
2018-10-16 11:08:46 -04:00
Jean Christophe Beyler
d7c7ce19f1 8211980: Remove ThreadHeapSampler enable/disable/enabled methods
Remove methods from ThreadHeapSampler

Reviewed-by: dholmes, phh
2018-10-15 14:16:35 -07:00
Roman Kennke
5de31861b2 8211270: GC abstraction to get real object and headers size
Reviewed-by: shade, zgu, eosterlund
2018-10-10 10:58:48 +02:00
Jiangli Zhou
a2ad8f419f 8206009: Move CDS java heap object archiving code to heapShared.hpp and heapShared.cpp
Restructure and cleanup java heap object archiving code.

Reviewed-by: coleenp, iklam
2018-10-09 15:58:07 -04:00
Jiangli Zhou
57b516dd0e 8202951: Implementation of JEP 341: Default CDS Archives
8210592: Convert CDS-mode test sets in tier5 and tier6 to non-CDS-mode tests
8209739: [TESTBUG] javax/imageio/plugins/png/ItxtUtf8Test.java fails with OutOfMemoryError when running in CDS mode

Generate the default CDS archive at JDK build time.

Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: Calvin Cheung <calvin.cheung@oracle.com>
Reviewed-by: erikj, ihse, dholmes, iklam, ccheung, mseledtsov
2018-10-05 18:56:11 -04:00
Harold Seigel
221005a3d4 8209138: Symbol constructor uses u1 as the element type of its name argument
Maske u1 the type for Symbol values and add a function to return it as a char.

Reviewed-by: dholmes, coleenp
2018-10-03 09:46:46 -04:00
David Holmes
a3cd6a1a70 8188764: Obsolete AssumeMP and then remove all support for non-MP builds
Reviewed-by: mikael, mdoerr, bulasevich, eosterlund
2018-10-03 03:41:57 -04:00
Coleen Phillimore
7ef28cb2bc 8209645: Split ClassLoaderData and ClassLoaderDataGraph into separate files
Reviewed-by: iklam, stuefe
2018-09-28 16:07:39 -04:00
Ioi Lam
1619cbd14b 8210864: Reduce the use of metaspaceShared.hpp
Reviewed-by: coleenp, lfoltan
2018-09-18 21:46:17 -07:00
Iris Clark
ba8f6e211c 8210775: JVM TI Spec missing copyright
Reviewed-by: dholmes, mchung, sspitsyn
2018-09-17 10:14:31 -07:00
Coleen Phillimore
bad4a92e55 8210559: ClassLoaderData Symbols can leak
Unrefcount the symbol names when the CLD is destroyed

Reviewed-by: lfoltan, jiangli, iklam
2018-09-14 12:10:28 -04:00
Mikael Vidstedt
9118c4c28b 8210514: Obsolete SyncVerbose
Reviewed-by: coleenp, dcubed
2018-09-11 13:54:34 -07:00
Coleen Phillimore
bbf5c1ca8d 8210422: runtime/modules/ModuleStress/ExportModuleStressTest.java - assertion failed: address not aligned: 0x00000008baadbabe
CLDG_lock caused safepoint in inconsistent state

Reviewed-by: lfoltan, eosterlund, kbarrett
2018-09-11 09:42:27 -04:00
Harold Seigel
18bbeb53e6 8210470: Remove unused Verifier::verify() Verifier::Mode argument
Remove the unused argument.

Reviewed-by: coleenp, jiangli
2018-09-11 09:53:41 -04:00
Kim Barrett
8b1bdf579c 8210131: vmTestbase/nsk/jvmti/scenarios/allocation/AP10/ap10t001/TestDescription.java failed with ObjectFree: GetCurrentThreadCpuTimerInfo returned unexpected error code
Expanded permitted threads to include all NamedThreads.

Reviewed-by: dcubed, sspitsyn
2018-09-07 14:44:52 -04:00
David Holmes
b66c67675d 8210486: Unused code in check_nest_attributes function
Reviewed-by: mikael, sspitsyn
2018-09-07 08:14:47 -04:00
Dean Long
25280e30d4 8209361: [AOT] Unexpected number of references for JVMTI_HEAP_REFERENCE_CONSTANT_POOL [111-->111]: 0 (expected at least 1)
Reviewed-by: coleenp, dholmes
2018-09-06 17:45:15 -07:00
Kim Barrett
53ac5e7fed 8210235: JvmtiTrace::safe_get_current_thread_name is unsafe in debug builds
Use Thread::current_or_null and handle NULL result.

Reviewed-by: coleenp
2018-08-31 16:29:49 -04:00
Patricio Chilano Mateo
16b92a561c 8206424: Use locking for cleaning ProtectionDomainTable
ServiceThread is now in charge of cleaning ProtectionDomainTable entries

Reviewed-by: coleenp, iklam
2018-08-31 10:22:04 -04:00
Coleen Phillimore
eb9259138f 8210155: Lock ClassLoaderDataGraph
In preparation for concurrent class unloading.

Reviewed-by: hseigel, eosterlund
2018-08-31 07:03:46 -04:00
Jean Christophe Beyler
b9b522a7ad 8203356: VM Object Allocation Collector can infinite recurse
VM Event callback do not provoke a VM alloc event

Reviewed-by: sspitsyn, phh, amenkov, cjplummer
2018-08-30 09:47:12 -07:00
Patricio Chilano Mateo
ff17347f8f 8209844: MemberNameLeak.java fails when ResolvedMethod entry is not removed
Fixed MemberNameLeak.java due to intermittent failure after 8206423

Reviewed-by: coleenp, lfoltan
2018-08-29 10:46:59 -04:00
Coleen Phillimore
3559b6be76 8209958: Clean up duplicate basic array type statics in Universe
Reviewed-by: lfoltan, zgu
2018-08-28 18:17:01 -04:00
Coleen Phillimore
fd9fa38d21 8209821: Make JVMTI GetClassLoaderClasses not walk CLDG
And also added function with KlassClosure to remove the hacks.

Reviewed-by: lfoltan, sspitsyn
2018-08-25 11:10:21 -04:00
Ioi Lam
73951ab5d9 8209657: Refactor filemap.hpp to simplify integration with Serviceability Agent
Added src/hotspot/share/include/cds.h

Reviewed-by: ccheung, sspitsyn, jgeorge
2018-08-17 13:53:53 -07:00
Patricio Chilano Mateo
4ef5590fa7 8206423: Use locking for cleaning ResolvedMethodTable
ServiceThread is now in charge of cleaning ResolvedMethodTable entries

Reviewed-by: gziemski, dholmes, coleenp
2018-08-21 10:37:02 -04:00
Coleen Phillimore
dc556f4086 8209738: Remove ClassLoaderDataGraph::*oops_do functions
Make walking CLDG more consistent.

Reviewed-by: dholmes, tschatzl
2018-08-21 09:33:41 -04:00
Ioi Lam
bc62b3a40e 8209647: constantPoolHandle::constantPoolHandle(ConstantPool*) when precompiled header is disabled
Added fieldDescriptor.inline.hpp

Reviewed-by: coleenp, shade
2018-08-20 13:58:23 -07:00
Lois Foltan
75ed173e15 8209301: JVM rename is_anonymous, host_klass to unsafe specific terminology ahead of Unsafe.defineAnonymousClass deprecation
Clean up VM anonymous class terminology.

Reviewed-by: coleenp, dholmes, mchung
2018-08-20 08:25:57 -04: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
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
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
Alex Menkov
2a213d1685 8199155: Accessibility issues in jdk.jdi
Reviewed-by: dtitov, sspitsyn
2018-07-26 11:31:15 -07:00
Phil Race
1387c87093 Merge 2018-07-26 10:00:40 -07:00
Goetz Lindenmaier
c798b68ee1 8207830: [aix] disable jfr in build and tests
Reviewed-by: kvn, erikj
2018-07-20 09:46:57 +02:00
Phil Race
28e828130d Merge 2018-07-19 10:17:22 -07:00
Lois Foltan
e8fcd927c3 8178712: ResourceMark may be missing inside initialize_[vi]table
Clean up use of ResourceMark within initialize_[vi]table.

Reviewed-by: ccheung, iklam, jiangli
2018-07-16 09:06:33 -04:00
Jesper Wilhelmsson
4fc510cc89 Merge 2018-07-14 02:14:54 +02:00
Goetz Lindenmaier
8a9b0134a8 8206977: Minor improvements of runtime code
Reviewed-by: coleenp, lfoltan
2018-07-11 16:11:10 +02:00
Erik Österlund
e4dbe9909f 8205683: Refactor heap allocation to separate concerns
Reviewed-by: pliden, kbarrett
2018-06-28 14:22:28 +02:00
Vladimir Kozlov
f4ae3d5325 8205400: [Graal] compiler/jvmci/compilerToVM/DisassembleCodeBlobTest.java fails with can't be enqueued for compilation on level 4
Add -XX:-BackgroundCompilation to tests to eager initialize JVMCI

Reviewed-by: thartmann
2018-06-26 09:14:49 -07:00
Paul Sandoz
14651d9e02 8195650: Method references to VarHandle accessors
Reviewed-by: jrose
2018-06-25 14:39:44 -07:00
Jiangli Zhou
9ba5bab865 8202035: Archive the set of ModuleDescriptor and ModuleReference objects for observable system modules with unnamed initial module
Support system module archiving with unnamed initial module at dump time.

Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Reviewed-by: erikj, coleenp, mchung, iklam, ccheung
2018-07-08 12:43:05 -04:00
Harold Seigel
5ff2b5fe98 8203911: Test runtime/modules/getModuleJNI/GetModule fails with -Xcheck:jni
Remove unneeded validate_class() check from  checked_jni_GetModule().

Reviewed-by: dholmes, coleenp
2018-07-06 06:26:25 -07:00