8335 Commits

Author SHA1 Message Date
Harold Seigel
c199f4eac2 8171971: Fix timing bug in JVM management of package export lists
Reduce the number of fields that maintain export state and use Module_lock to access these fields

Reviewed-by: acorn, sspitsyn, lfoltan
2017-01-20 16:09:56 -05:00
Daniel D. Daugherty
3452ceaa66 8173081: VM no longer prints "Picked up _JAVA_OPTONS: " message
Restore lost line from JDK-8061999.

Reviewed-by: hseigel, mchung, dholmes
2017-01-19 18:16:20 -08:00
Claes Redestad
984dc33474 8171855: Move package name transformations during module bootstrap into native code
Reviewed-by: alanb, acorn, lfoltan, mchung, plevart, hseigel, sspitsyn
2017-01-19 11:49:30 +01:00
Andreas Woess
2259b96a70 8172751: OSR compilation at unreachable bci causes C1 crash
Bailout if OSR entry is unreachable.

Reviewed-by: thartmann
2017-01-19 08:10:11 +01:00
Vladimir Kozlov
6c4b9fed92 8173019: Backout JDK-8172990 changes
Reviewed-by: dlong
2017-01-18 19:37:52 -08:00
David Holmes
417f6a4ac8 8172261: [JVMTI] Specification for early VM start event needs to lower expectations in relation class loading
Reviewed-by: dcubed, sspitsyn, alanb
2017-01-18 19:54:18 -05:00
Vladimir Kozlov
4dd3138c5d 8173794: [REDO] [AOT] Missing GC scan of _metaspace_got array containing Klass*
Added back _metaspace_got array scan.

Reviewed-by: dlong
2017-01-18 14:36:54 -08:00
Doug Simon
a19bf59313 Merge 2017-02-06 21:12:41 +00:00
Jamsheed Mohammed C M
e05df4e05f 8170455: C2: Access to [].clone from interfaces fails
Passed holder klass to LR for proper resolution.

Reviewed-by: vlivanov
2017-02-06 09:56:48 -08:00
Doug Simon
47960ed2aa 8173912: [JVMCI] fix memory overhead of JVMCI
Reviewed-by: kvn
2017-02-06 10:45:11 +01:00
Oleg Pliss
a7f34a3295 8173119: compiler/jvmci/events/JvmciNotifyBootstrapFinishedEventTest.java fails with custom Tiered Level set externally
Check for invalid JVMCI flag combination at startup.

Reviewed-by: kvn, thartmann
2017-02-06 08:32:08 +01:00
Jamsheed Mohammed C M
6f2cad0c0c 8173679: Disable ProfileTrap code and UseRTMLocking in emulated client Win32
Disabled mdo trap count update on deopt, and made +UseRTMLocking to exit.

Reviewed-by: kvn
2017-02-03 19:26:35 -08:00
Matthias Baesken
104239fe8f 8173825: Adjust the comment for flags UseAES, UseFMA, UseSHA in globals.hpp
Reviewed-by: kvn, clanger
2017-02-03 12:26:10 +01:00
Rahul Raghavan
a44e07e4b3 8144484: assert(no_dead_loop) failed: dead loop detected
Bailout early without splitting Phi through memory merges if TOP inputs present for Phi Nodes

Reviewed-by: thartmann, kvn
2017-02-03 00:46:58 -08:00
Tobias Hartmann
b9e2a53841 8173699: Crash during deoptimization with "assert(result == __null || result->is_oop()) failed: must be oop"
Ignore return_oop() when dispatching an exception and only try to retrieve the oop when performing re-allocation during a normal deoptimization (if exec_mode == Unpack_deopt).

Reviewed-by: kvn, vlivanov
2017-02-03 08:17:35 +01:00
Vladimir Kozlov
3d5e2ddf61 8172990: [AOT] Missing GC scan of _metaspace_got array containing Klass*
Added back _metaspace_got array scan.

Reviewed-by: dlong
2017-01-18 14:36:54 -08:00
Coleen Phillimore
362fbe12e8 8144518: ClassVerboseTest crashes on Windows
Simplify Bytecode_tableswitch code so windows doesn't generate bad code for it.

Reviewed-by: ctornqvi, dholmes
2017-01-18 10:30:56 -05:00
Tobias Hartmann
1590fcdd81 Merge 2017-01-18 08:30:02 +00:00
Tobias Hartmann
a6092584f9 8172884: TraceOptoPipelining and TraceOptoOutput are broken
Compiler Control code needs not set the default values for the directive according to the flag value.

Reviewed-by: neliasso, redestad
2017-01-18 08:54:29 +01:00
Jamsheed Mohammed C M
197ce5bafa 8166002: Emulate client build on platforms with reduced virtual address space
The default VM ergonomics on Windows/x86 (32-bit) are changed to client like.

Reviewed-by: kvn, iveresov
2017-01-17 21:38:07 -08:00
Markus Grönlund
f02cb33818 Merge 2017-01-17 17:00:22 +01:00
Markus Grönlund
2bc33c2996 8171960: Event-based tracing needs separate flag representation for Method
Reviewed-by: hseigel, gtriantafill, dholmes
2017-01-17 16:18:03 +01:00
Rachel Protacio
3cfbc5a630 8170827: Correct errant "java.base" string to macro
Used JAVA_BASE_NAME instead of "java.base" string in one location

Reviewed-by: coleenp, jiangli
2017-01-13 16:49:34 -05:00
Harold Seigel
c95329970d 8172288: Fix Jigsaw related module/package error messages and throw correct exceptions
Reword error messages and throw IllegalStateExceptions where appropriate

Reviewed-by: alanb, acorn, lfoltan, gtriantafill
2017-01-13 07:19:03 -05:00
Zoltan Majo
421bf2f22d 8168926: C2: Bytecode escape analyzer crashes due to stack overflow
Whether current call site needs an appendix is determined only based on the target method and the current bytecode instruction.

Reviewed-by: kvn, thartmann
2017-01-11 09:40:42 +01:00
Igor Veresov
5b9a2a728b 8172310: [AOT] Fix unverified entry point
Fix AOT code for the unverified entry point

Reviewed-by: kvn
2017-01-10 21:39:20 +03:00
David Leopoldseder
26a978276c 8166125: [JVMCI] Missing JVMCI flag default values
Reviewed-by: twisti, kvn
2017-01-09 19:36:47 +00:00
Ioi Lam
482d791b2c 8170959: unloading archived shared class caused crash
Reviewed-by: coleenp, sspitsyn, mockner
2017-01-08 10:39:42 -08:00
Jesper Wilhelmsson
4ce0eb8df9 Merge 2016-12-22 22:07:36 +01:00
Dean Long
6142b330f0 8169938: [AOT] SIGSEGV at ~BufferBlob::vtable chunks
Set "return_oop" on AOT scopes

Reviewed-by: kvn, never
2016-12-20 20:38:14 -08:00
Bob Vandette
6009cf0793 8168503: JEP 297: Unified arm32/arm64 Port
Reviewed-by: kvn, enevill, ihse, dholmes, erikj, coleenp, cjplummer
2016-12-19 12:39:01 -05:00
Yang Zhang
851569b2f4 8169697: AArch64: Vectorized MLA instruction not generated for some test cases
Add AddVB/S/I/L/F/D node to commut_op_list, as well as other commutative vector operations.

Reviewed-by: roland, kvn
2016-12-19 10:57:53 +08:00
Harold Seigel
cbfb8634d0 Merge 2017-05-04 14:54:46 +00:00
Harold Seigel
5b7ff7579c 8056900: Enhance NoClassDefFound exception messaging
Add text to the message explaining the cause of the exception

Reviewed-by: dholmes, sspitsyn, coleenp
2017-05-04 10:05:29 -04:00
Ioi Lam
c34f76b22e 8179625: [BACKOUT] of 8179305 Avoid repeated calls to JavaThread::last_frame in InterpreterRuntime
Reviewed-by: hseigel
2017-05-04 06:54:52 -07:00
Kim Barrett
a896bf909c 8178352: BitMap::get_next_zero_offset may give wrong result on Mac
Invert and search initial word for trailing ones.

Reviewed-by: stefank, cjplummer
2017-05-03 14:13:48 -04:00
Ioi Lam
c386cec7b1 8171392: Move Klass pointers outside of ConstantPool entries so ConstantPool can be read-only
Added _resolved_klasses; moved _resolved_references to ConstantPoolCache, etc.

Reviewed-by: coleenp, lfoltan, simonis, aph
2017-03-03 23:08:35 -08:00
Ioi Lam
66f0c0d17f 8179305: Avoid repeated calls to JavaThread::last_frame in InterpreterRuntime
Added LastFrameAccessor class

Reviewed-by: dlong, dholmes
2017-05-01 11:16:01 -07:00
Alexander Harlap
cf7c7fedcd 8178542: G1: VM hangs during shutdown due to mark stack overflow
Removed not needed call to clear_has_overflown() to avoid inconsistent state

Reviewed-by: kbarrett, sangheki
2017-05-01 10:50:38 -04:00
Zoltan Majo
3e1753d49b 8179019: Correct range checks for command-line options ArraycopySrcPrefetchDistance and ArraycopyDstPrefetchDistance
Update constraint for the command-line options. Change stubs to use register values instead of immediates.

Reviewed-by: kvn
2017-04-28 09:50:47 +02:00
Harold Seigel
dbbc52769a Merge 2017-04-27 14:15:30 +00:00
Harold Seigel
5252655a4a 8179235: PackageEntryTables should be created eagerly
Create the PackageEntryTables in the constructor for ClassLoaderData.

Reviewed-by: dholmes, sspitsyn
2017-04-27 10:08:02 -04:00
Jesper Wilhelmsson
18441d431e Merge 2017-04-27 14:40:21 +02:00
Claes Redestad
1668e018ce 8179224: Cache strlen of Flag::_name
Reviewed-by: dsamersoff, jiangli, iklam, rehn
2017-04-26 13:20:23 +02:00
Stefan Johansson
e237e703df 8138737: Remove oop_ms_adjust_pointers and use oop_iterate instead
Reviewed-by: kbarrett, stefank
2017-04-26 10:26:39 +02:00
Ioi Lam
3e3183a5a1 8178543: Optimize Klass::is_shared()
Reviewed-by: coleenp, jiangli
2017-04-14 08:33:57 -07:00
Ioi Lam
9d5b85daf4 8178350: klassVtable and klassItable should be ValueObj
Reviewed-by: coleenp
2017-04-13 01:56:01 -07:00
Jesper Wilhelmsson
dd358a3bac Merge 2017-04-24 21:34:24 +02:00
Rachel Protacio
5889c1e232 Merge 2017-04-24 17:26:11 +00:00
Rachel Protacio
9947f147f6 8165896: Use "open" flag from JVM_DefineModule to export all module packages
Implemented VM side of open modules, which export all their packages unqualifiedly. Automatic modules and unnamed modules are treated internally as open modules.

Reviewed-by: alanb, hseigel, lfoltan
2017-04-24 12:08:28 -04:00