227 Commits

Author SHA1 Message Date
Coleen Phillimore
ccb2e9d925 8222988: Use MonitorLocker rather than MutexLocker when wait/notify used
Fixed use cases in code except CMS.

Reviewed-by: rehn, dcubed
2019-04-29 16:01:52 -04: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
Jean Christophe Beyler
ec3edf99f9 8221853: Data race in compile broker (set_last_compile)
Remove the debug code provoking it

Reviewed-by: kvn, thartmann
2019-04-09 19:34:05 -07:00
Matthias Baesken
d06f3accec 8221541: clean up functions in CompilerOracle
Reviewed-by: mdoerr, kvn
2019-03-27 10:25:12 +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
Tobias Hartmann
474437061e 8220341: Class redefinition fails with assert(!is_unloaded()) failed: unloaded method on the stack
Skip unloaded methods in compile queue during marking.

Reviewed-by: kvn, neliasso, eosterlund, coleenp
2019-03-12 10:09:50 +01:00
Tobias Hartmann
ac17b61a59 8163511: Allocation of compile task fails with assert: "Leaking compilation tasks?"
Use weak handles for compile tasks to allow unloading of referenced methods.

Reviewed-by: kvn, coleenp, eosterlund
2019-03-07 08:38:16 +01:00
Goetz Lindenmaier
16d8bc9087 8218544: Fix build on windows: missing include
Reviewed-by: stuefe, dholmes, shade
2019-02-06 08:31:27 +01:00
Kim Barrett
cd9b1aabb0 8218164: Improve local control of compiler warnings
Windows warning push/pop and gcc/Windows warning suppression macros.

Reviewed-by: dholmes, tschatzl
2019-02-05 13:21:59 -05:00
Igor Ignatyev
96e6617ee7 8217848: [Graal] vmTestbase/nsk/jvmti/ResourceExhausted/resexhausted003/TestDescription.java fails
Reviewed-by: kvn, dlong
2019-01-31 12:52:55 -08:00
Robbin Ehn
046a1f0ff7 8218041: Assorted wrong/missing includes
Reviewed-by: dholmes, kbarrett, stefank, shade
2019-01-31 10:31:39 +01:00
Doug Simon
5f5d4425c2 8217445: [JVMCI] incorrect management of JVMCI compilation failure reason string
Reviewed-by: kvn, thartmann
2019-01-22 10:12:05 +01:00
Claes Redestad
d3cd2cb795 8217387: Remove dead develop flag CIFireOOMAt
Reviewed-by: shade, kbarrett
2019-01-20 16:55:21 +01:00
Jesper Wilhelmsson
cda0d67617 Merge 2019-01-16 20:53:09 +01:00
Lutz Schmidt
92e750fb58 8216314: SIGILL in CodeHeapState::print_names()
Reviewed-by: thartmann, kvn
2019-01-16 09:48:35 +01:00
David Holmes
c6653432a5 8214816: os::read() should not transition to _thread_blocked with safepoint check on Solaris
Reviewed-by: jiangli, mgronlun
2019-01-13 16:54:01 -05:00
Per Lidén
1c5496ac8b 8216595: Fix broken builds after JDK-8216424
Reviewed-by: redestad, alanb
2019-01-13 17:33:26 +01:00
Claes Redestad
e3a3ae7f23 8216424: Remove TimeLivenessAnalysis
Reviewed-by: kvn, thartmann
2019-01-13 12:50:05 +01:00
Coleen Phillimore
154a1a02bf 8216167: Update include guards to reflect correct directories
Use script and some manual fixup to fix directores names in include guards.

Reviewed-by: lfoltan, eosterlund, kbarrett
2019-01-10 15:13:51 -05:00
Yasumasa Suenaga
abbabdbeb3 8216154: C4819 warnings at HotSpot sources on Windows
Reviewed-by: kbarrett, tschatzl
2019-01-08 10:35:06 +09:00
Coleen Phillimore
1509c1ffe1 8215731: Move forward class definitions out of globalDefinitions.hpp
Redistribute the forward declarations to the header files that need them.

Reviewed-by: dholmes, lfoltan
2019-01-04 15:06:01 -05:00
Igor Ignatyev
5ff302e6bb 8214917: CTW testlibrary shouldn't ignore errors raised by the library itself
Reviewed-by: kvn, roland
2018-12-10 11:04:55 -08:00
Nils Eliasson
4246096355 8214773: Replace use of thread unsafe strtok
Reviewed-by: thartmann, dholmes
2018-12-04 18:55:06 +01:00
Tobias Hartmann
d4acf96543 8208277: Code cache heap (-XX:ReservedCodeCacheSize) doesn't work with 1GB LargePages
Use huge pages for code cache if ReservedCodeCacheSize == InitialCodeCacheSize

Reviewed-by: kvn
2018-12-06 10:07:54 +01:00
Aleksey Shipilev
ffeae5bd65 8212070: Introduce diagnostic flag to abort VM on failed JIT compilation
Reviewed-by: mikael, thartmann
2018-11-19 11:51:27 +01:00
Tobias Hartmann
2fe0a0f20b 8213014: Crash in CompileBroker::make_thread due to OOM
Added missing null checks and checks for pending exception.

Reviewed-by: kvn, dholmes, mdoerr
2018-11-01 14:15:35 +01:00
Martin Doerr
a241cf4367 8213086: Compiler thread creation should be bounded by available space in memory and Code Cache
Reviewed-by: kvn, thartmann
2018-10-31 14:48:36 +01:00
Daniil Titov
93021808e6 8195627: [Graal] nsk/jdi/VirtualMachine/redefineClasses/redefineclasses026 hangs with Graal in Xcomp mode
Reviewed-by: sspitsyn, kvn
2018-10-30 19:29:21 -07:00
Pavel Punegov
a7aa770b9a 8164546: Convert DirectivesParser_test to GTest
Reviewed-by: kvn, iignatyev, neliasso
2018-10-25 11:18:24 -07:00
Roman Kennke
3085a89f13 8211279: Verify missing object equals barriers
Reviewed-by: pliden, shade, zgu
2018-10-03 15:22:16 +02:00
Coleen Phillimore
432605be5c 8209889: RedefineStress tests crash
Create CompileTaskWrapper before potential safepoint

Reviewed-by: mdoerr, dlong
2018-10-05 09:15:52 -04:00
Jesper Wilhelmsson
d40735db17 Merge 2018-08-29 19:48:28 +02:00
Tobias Hartmann
aef7c93375 8209670: CompilerThread releasing code buffer in destructor is unsafe
Don't free temporary code buffers in compiler thread destructor to avoid interference with safepoint code.

Reviewed-by: kvn, dholmes, zgu
2018-08-21 17:47:59 +02:00
Coleen Phillimore
647c7d5344 8164683: Solaris: JVM abuses thread preemption control
Complete removal of preemption control and command line arguments (were deprecated in 11).

Reviewed-by: hseigel, pchilanomate, dholmes
2018-08-10 09:36:01 -04:00
Xin Liu
e5f3e1b60c 8207965: C2-only debug build fails
Reviewed-by: kvn, iignatyev
2018-08-08 18:38:34 -07:00
Thomas Schatzl
e98c176026 8208670: Compiler changes to allow enabling -Wreorder
Reviewed-by: kvn
2018-08-08 15:31:06 +02:00
Jesper Wilhelmsson
4fc510cc89 Merge 2018-07-14 02:14:54 +02:00
Goetz Lindenmaier
2e682fa3cd 8207049: Minor improvements of compiler code
Reviewed-by: kvn, mdoerr
2018-07-12 16:31:28 +02:00
Tobias Hartmann
a16ca4799e 8205472: Deadlock in Kitchensink when trying to print compile queues causing timeout
Do not acquire the MethodCompileQueue_lock in CompileBroker::print_compile_queues().

Reviewed-by: kvn, kbarrett, dholmes
2018-07-10 15:33:55 +02:00
Vladimir Kozlov
f1ce5c1456 8193126: Incorrect setting of MetaspaceSize and NewSizeThreadIncrease when using JVMCI compiler
Select maximum default values for JVMCI

Reviewed-by: dnsimon, iveresov
2018-07-06 13:45:41 -07:00
Tobias Hartmann
5e002c7aa7 8205499: C1 temporary code buffers are not removed with -XX:+UseDynamicNumberOfCompilerThreads
Deallocate C1 code buffers in the compiler thread destructor.

Reviewed-by: neliasso, kvn, mdoerr
2018-06-29 11:08:38 +02:00
Ioi Lam
b5f0945a72 8204267: Generate comments in -XX:+PrintInterpreter to link to source code
Changed __ macro to use Disassembler::hook()

Reviewed-by: coleenp, aph
2018-06-03 23:33:00 -07:00
Igor Veresov
90c4e07b60 8204209: [Graal] Compilation fails during nmethod printing with "assert(bci == 0 || 0 <= bci && bci < code_size()) failed: illegal bci"
Tolerate JVMCI placeholder bcis

Reviewed-by: kvn, never, dlong
2018-06-22 15:58:32 -07:00
Chris Phillips
561ec75b9b 8203030: Zero s390 31 bit size_t type conflicts in shared code
Cast to size_t or change to size_t foe compatibility with other archs.

Reviewed-by: pliden, dholmes
2018-06-19 10:00:39 -04:00
Vladimir Kozlov
9b7a61eff1 8184349: There should be some verification that EnableJVMCI is disabled if a GC not supporting JVMCI is selected
Exit VM with Error when JVMCI does not support seected GC.

Reviewed-by: iveresov, thartmann
2018-06-15 09:16:48 -07:00
Andrew Haley
dd0ba10925 8204680: Disassembly does not display code strings in stubs
Reviewed-by: kvn
2018-06-11 15:32:43 +01:00
Per Lidén
e7af7a4aef 8204210: Implementation: JEP 333: ZGC: A Scalable Low-Latency Garbage Collector (Experimental)
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Co-authored-by: Erik Osterlund <erik.osterlund@oracle.com>
Co-authored-by: Mikael Gerdin <mikael.gerdin@oracle.com>
Co-authored-by: Kim Barrett <kim.barrett@oracle.com>
Co-authored-by: Nils Eliasson <nils.eliasson@oracle.com>
Co-authored-by: Rickard Backman <rickard.backman@oracle.com>
Co-authored-by: Roland Westrelin <rwestrel@redhat.com>
Co-authored-by: Coleen Phillimore <coleen.phillimore@oracle.com>
Co-authored-by: Robbin Ehn <robbin.ehn@oracle.com>
Co-authored-by: Gerard Ziemski <gerard.ziemski@oracle.com>
Co-authored-by: Hugh Wilkinson <hugh.wilkinson@intel.com>
Co-authored-by: Sandhya Viswanathan <sandhya.viswanathan@intel.com>
Co-authored-by: Bill Wheeler <bill.npo.wheeler@intel.com>
Co-authored-by: Vinay K. Awasthi <vinay.k.awasthi@intel.com>
Co-authored-by: Yasumasa Suenaga <yasuenag@gmail.com>
Reviewed-by: pliden, stefank, eosterlund, ehelin, sjohanss, rbackman, coleenp, ihse, jgeorge, lmesnik, rkennke
2018-06-12 17:40:28 +02:00
Rene Schuenemann
83ece1407f 8204476: Add additional statistics to CodeCache::print_summary
Reviewed-by: kvn, stuefe
2018-05-30 14:46:17 +02:00
Ioi Lam
1ae12b4328 8203381: Replace InstanceKlass::allocate_instance_handle with JavaCalls::construct_new_instance
Reviewed-by: lfoltan, dholmes, coleenp, minqi
2018-05-18 09:15:08 -07:00
Erik Gahlin
a060be188d 8199712: Flight Recorder
Co-authored-by: Markus Gronlund <markus.gronlund@oracle.com>
Reviewed-by: coleenp, ihse, erikj, dsamersoff, mseledtsov, egahlin, mgronlun
2018-05-15 20:24:34 +02:00