877 Commits

Author SHA1 Message Date
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
Coleen Phillimore
3e3414dbf3 8203837: Split nmethod unloading from inline cache cleaning
Refactor cleaning inline caches to after GC do_unloading.

Reviewed-by: thartmann, eosterlund
2018-05-02 11:28:49 -04:00
Roman Kennke
26b8ea76f5 8202776: Modularize GC allocations in runtime
Reviewed-by: eosterlund, shade
2018-06-05 19:13:53 +02: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
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
David Holmes
8062baac83 8204055: SIGSEGV in java -XX:
Reviewed-by: iklam, stuefe, ccheung
2018-05-31 18:47:21 -04: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
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
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
Gerard Ziemski
90cc14cd60 8133564: Runtime - 2nd followup to Validate JVM Command-Line Flag Arguments
Moved print function into JVMFlag, cleaned up include headers.

Reviewed-by: coleenp, hseigel
2018-05-29 11:04:56 -05:00
Per Lidén
4a8497acdb 8203885: ConcurrentLocksDump::dump_at_safepoint() should not allocate array in resource area
Reviewed-by: dholmes, stuefe, kbarrett
2018-05-29 13:44:44 +02:00
Thomas Stuefe
113924e979 8203865: Metaspace cleanup: Remove unused MemRegion in VirtualSpaceNode
Reviewed-by: dholmes, zgu
2018-05-29 12:52:08 +02:00
Thomas Schatzl
f236648263 8203262: Incorrect cmpxchg usage in MetaspaceGC::inc_capacity_until_GC
Reviewed-by: pliden, shade
2018-05-28 12:10:18 +02:00
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