1418 Commits

Author SHA1 Message Date
Thomas Stuefe
234cd9fca4 8203682: Add jcmd "VM.classloaders" command to print out class loader hierarchy, details
Reviewed-by: coleenp, dholmes
2018-06-07 12:23:46 +02:00
Thomas Schatzl
4c0fa36251 8202049: G1: ReferenceProcessor doesn't handle mark stack overflow
Issue a fatal error when mark stack overflows during reference processing in the Remark phase

Reviewed-by: kbarrett
2018-06-07 11:20:55 +02:00
Thomas Schatzl
1c238f0ccc 8204081: Mismatch in rebuild policy and collection set chooser causes remembered sets to be kept errorneously
Due to mismatch in which region's remembered sets should be rebuilt and the ones that are looked at in the collection set chooser superfluous remembered sets might be built and kept alive until the next marking.

Reviewed-by: sjohanss, kbarrett
2018-06-07 11:20:30 +02:00
Thomas Schatzl
7f8874a93b 8204084: Remove the G1RSBarrierRegionFilter develop flag
Reviewed-by: sjohanss, shade
2018-06-07 11:20:18 +02:00
Stefan Johansson
dce30cad15 8204287: Phase timings not updated correctly after JDK-6672778
Reviewed-by: tschatzl, kbarrett
2018-06-07 09:02:03 +02:00
Coleen Phillimore
892a2af03f 8204301: Make OrderAccess functions available to hpp rather than inline.hpp files
Move orderAccess.inline.hpp into orderAccess.hpp and remove os.hpp inclusion and conditional os::is_MP() for fence on x86 platforms

Reviewed-by: dholmes, hseigel
2018-06-06 10:45:40 -04:00
Andrew Haley
ff93cf18a7 Merge 2018-06-06 13:06:21 +01:00
Martin Doerr
aa3e013cea 8204345: [s390]: no precompiled headers build broken
Reviewed-by: simonis, shade, coleenp
2018-06-06 10:11:23 +02:00
David Holmes
ab275c586e 8199882: compiler/uncommontrap/TestDeoptOOM.java failed w/ fatal error: ExceptionMark constructor expects no pending exceptions
Pre-load AbstractOwnableSynchronizer class instead of lazy loading it.

Reviewed-by: sspitsyn, cjplummer, coleenp
2018-06-05 19:58:20 -04:00
Roman Kennke
6aa9e85a5e 8200623: Primitive heap access for interpreter BarrierSetAssembler/x86
Reviewed-by: eosterlund, adinn
2018-06-05 21:38:38 +02:00
Andrew Haley
7974360b3f 8204348: AArch64: Remove C2 address reshaping code
Reviewed-by: kvn
2018-06-05 17:50:31 +01:00
Andrew Haley
8b4b130011 Merge 2018-06-05 17:14:49 +01:00
Andrew Haley
74dd5acae0 8204341: AArch64: AOT runtime does not need a workaround for far calls
Reviewed-by: kvn
2018-06-05 16:12:57 +01:00
Coleen Phillimore
1abfb6d4b4 8204237: Clean up incorrectly included .inline.hpp files from jvmciJavaClasses.hpp
Reexpand macro to provide non-inline functions.

Reviewed-by: kvn, dnsimon
2018-06-05 11:11:33 -04:00
Kim Barrett
056f7b3bd8 8203319: JDK-8201487 disabled too much queue balancing
Sometimes ignore ParallelRefProcBalancingEnabled.

Reviewed-by: tschatzl, sjohanss
2018-06-05 09:15:03 -04:00
John Paul Adrian Glaubitz
45abb6791e 8203787: Hotspot build broken on linux-sparc after 8202377
Reviewed-by: dholmes, eosterlund
2018-06-05 13:02:01 +02:00
Michihiro Horie
1213297257 8154736: enhancement of cmpxchg and copy_to_survivor for ppc64
Reviewed-by: eosterlund, mdoerr, kbarrett
2018-06-05 09:29:15 +02:00
Martin Doerr
e4fc10b3c0 8204292: PPC64: Fix missing includes after 8204195
Reviewed-by: coleenp
2018-06-05 09:23:30 +02:00
Sangheon Kim
4fb9d6717d 8204094: assert(worker_i < _length) failed: Worker 15 is greater than max: 11 at ReferenceProcessorPhaseTimes
Reviewed-by: kbarrett, tschatzl
2018-06-04 21:20:16 -07:00
Kim Barrett
2a1a55cc26 8203948: Expand JVMTI callback notion of "internal threads"
Allow any NamedThreads in some contexts.

Reviewed-by: coleenp, dholmes
2018-06-04 20:14:13 -04:00
Roman Kennke
482e40cc8c 8198285: More consistent Access API for arraycopy
Reviewed-by: eosterlund, shade
2018-06-04 23:01:48 +02:00
Erik Gahlin
9017043b57 8203919: Remove "-add-modules" hint from error message
Reviewed-by: mgronlun
2018-06-04 22:03:10 +02:00
Gerard Ziemski
8c00745dbd 8204295: [BACKOUT] - JVMFlag::printError missing ATTRIBUTE_PRINTF
Backed out the original fix.

Reviewed-by: kbarrett, lfoltan
2018-06-04 13:53:51 -05:00
Alex Menkov
7cd6695e02 Merge 2018-06-04 10:27:48 -07:00
Alex Menkov
dbb9eb5b9c 8187289: NotifyFramePop request is not cleared if JVMTI_EVENT_FRAME_POP is disabled
Reviewed-by: sspitsyn, cjplummer
2018-06-04 10:25:44 -07:00
Gerard Ziemski
48e6db9ca8 8203939: JVMFlag::printError missing ATTRIBUTE_PRINTF
Added missing ATTRIBUTE_PRINTF

Reviewed-by: kbarrett, hseigel
2018-06-04 12:14:22 -05:00
Coleen Phillimore
caaf07e291 Merge 2018-06-04 11:49:12 -04:00
Lois Foltan
d623fc1bba 8202758: SIGSEGV calling Class.forName(String,Boolean,ClassLoader) with mocked loader
Check that the unnamed module for a given ClassLoader is an instance of java.lang.Module.

Reviewed-by: alanb, acorn, coleenp, dholmes, hseigel
2018-06-04 11:07:04 -04:00
Coleen Phillimore
03702fb256 8204195: Clean up macroAssembler.inline.hpp and other inline.hpp files included in .hpp files
Moved macroAssembler.inline.hpp out of header file and distributed to .cpp files that included them: ie. c1_MacroAssembler.hpp and interp_masm.hpp. Also freeList.inline.hpp and allocation.inline.hpp.

Reviewed-by: jiangli, kvn
2018-06-04 10:18:43 -04:00
Erik Österlund
6e9153ef8b 8202547: Move G1 runtime calls used by generated code to G1BarrierSetRuntime
Reviewed-by: rkennke, tschatzl
2018-06-04 12:59:51 +02:00
Markus Grönlund
dd539c07ca 8203921: JFR thread sampling is missing fixes from JDK-8194552
Reviewed-by: egahlin
2018-06-04 12:51:24 +02:00
Thomas Stuefe
60c218229e 8204164: OOM-only logging in Metaspace
Reviewed-by: gziemski, coleenp
2018-06-04 07:12:26 +02:00
Gustavo Romero
c4b890cac0 8203669: PPC64: Fix jtreg RTM tests after "8203305: Improve TM detection for enabling RTM on Linux / POWER9"
Reviewed-by: mdoerr, goetz
2018-05-21 13:23:55 -04:00
David Holmes
8062baac83 8204055: SIGSEGV in java -XX:
Reviewed-by: iklam, stuefe, ccheung
2018-05-31 18:47:21 -04:00
Daniil Titov
a2a5e85195 8197387: jcmd started by "root" must be allowed to access all VM processes
Reviewed-by: sspitsyn, stuefe
2018-05-31 14:09:04 -07:00
Kim Barrett
dd3d24341b 8204179: [BACKOUT] OopStorage should use GlobalCounter
Backout JDK-8202945

Reviewed-by: eosterlund, pliden
2018-05-31 15:37:18 -04:00
Alex Menkov
4265f02657 8203031: segfaults from jvmti_AddToBootstrapClassLoaderSearch
Reviewed-by: sspitsyn, iklam, jiangli
2018-05-31 10:14:41 -07:00
Harold Seigel
d892ac8d4c 8202913: loader constraint message for fields specifies incorrect referring class
Improve the message to display the right referring class.

Reviewed-by: acorn, goetz, dholmes
2018-05-31 10:38:06 -04:00
Coleen Phillimore
89251ae9a3 8204087: C++ Interpreter code left over in MethodData
Remove unused code

Reviewed-by: kvn, lfoltan, thartmann
2018-05-31 09:19:54 -04:00
Markus Grönlund
04482293bf 8203321: assert(current_query_index < process_query_set->size) failed: invariant
Reviewed-by: rehn
2018-05-31 13:25:40 +02:00
Thomas Stuefe
0084eebd36 8203219: VM.metaspace jcmd should optionally show loaded classes for loaders
Reviewed-by: zgu, coleenp
2018-05-30 17:30:06 +02:00
Patric Hedlin
60b28c75c8 8200288: [SPARC] "assert(!(is_cti(prev) && is_cti(insn))) failed: CTI-CTI not allowed"
Reviewed-by: neliasso, kvn
2018-05-30 16:10:21 +02:00
Goetz Lindenmaier
ff2c3d4dbe 8203881: Print erroneous size in NegativeArraySizeException
Reviewed-by: dholmes, stuefe
2018-05-30 11:39:26 +02:00
Thomas Stuefe
611c72e5bc 8203455: jcmd: VM.metaspace: print loader name for anonymous CLDs
Reviewed-by: lfoltan, goetz
2018-05-30 08:52:59 +02:00
Kim Barrett
d2dd37cf1f 8202945: OopStorage should use GlobalCounter
Use GlobalCounter rather than private mechanism.

Reviewed-by: eosterlund, tschatzl, rehn
2018-05-29 18:10:09 -04:00
David Holmes
1225e17c54 8189766: whitebox failure with -Xcheck:jni
Reviewed-by: lfoltan, kbarrett
2018-05-29 17:21:31 -04:00
Kim Barrett
ce8c6887bb 8203843: BasicParState::default_estimated_thread_count(false) can return 0 in gtest
Ensure minimum estimated thread count is 1.

Reviewed-by: tschatzl, stuefe, rehn
2018-05-29 16:02:23 -04:00
Coleen Phillimore
e3a3941c9a 8202813: Move vm_weak processing from SystemDictionary to WeakProcessor
SystemDictionary has all strong roots.  The weak oop_storage is processed by the WeakProcessor so it can be scanned and cleared concurrently and/or by parallel threads.

Reviewed-by: kbarrett, sjohanss
2018-05-29 15:50:27 -04:00
Dean Long
92b31787a2 8203370: [JVMCI] UseJVMCICompiler should imply EnableJVMCI
Reviewed-by: kvn
2018-05-29 12:06:05 -07:00
Gerard Ziemski
b721c804c5 8203938: Fix build failures from JDK-8133564
Added missing static keyword

Reviewed-by: kbarrett, tschatzl
2018-05-29 12:57:39 -05:00