8172 Commits

Author SHA1 Message Date
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
Rachel Protacio
66fa0999d1 8168122: Update logging in perfMemory to Unified Logging
-XX:+PerfTraceMemOps replaced with -Xlog:perf+memops=debug, -XX:+PerfTraceDataCreation replaced with -Xlog:perf+datacreation=debug

Reviewed-by: sspitsyn, coleenp
2017-04-24 11:32:38 -04:00
Harold Seigel
f9e13c6d3f 8178949: The split verifier allows anewarray to create an array of more than 255 dimensions
Add check to split verifier handling of anewarray opcode.

Reviewed-by: sspitsyn, gtriantafill, lfoltan
2017-04-24 08:47:38 -04:00
Kim Barrett
6de1e550d8 8179181: Cleanup BitMap search API
Remove _inline suffixes and remove duplicate wrappers.

Reviewed-by: dholmes, coleenp
2017-04-23 15:02:46 -04:00
Jesper Wilhelmsson
d507b8945c Merge 2017-04-18 22:25:33 +02:00
Rachel Protacio
ca72444bf9 8176472: Lazily create ModuleEntryTable
Moved the unnamed module out of the ModuleEntryTable and into the ClassLoaderData so that the MET can be lazily created only when other modules are present. Also a smaller PackageTable size.

Reviewed-by: gtriantafill, hseigel, lfoltan, coleenp
2017-04-18 13:19:42 -04:00
Kim Barrett
5fb44c25c7 8169517: WhiteBox should provide concurrent GC phase control
Added WhiteBox API and G1 implementation.

Reviewed-by: shade, dfazunen
2017-04-13 16:38:39 -04:00
Coleen Phillimore
3784f04568 8178336: Unnecessary SystemDictionary walk for Protection domain liveness
Remove system dictionary walk and pass strong closure for !ClassUnloading

Reviewed-by: jiangli, iklam
2017-04-13 09:42:10 -04:00
Coleen Phillimore
c52443f75b 8026985: Rewrite SystemDictionary::classes_do and Dictionary::classes_do to use KlassClosure
Actually remove unused functions like classes_do and methods_do.

Reviewed-by: iveresov, sspitsyn, dholmes
2017-04-12 08:02:29 -04:00
Per Lidén
221d948b51 8178363: Incorrect check for nmethod re-registration in C1
Reviewed-by: stefank, rbackman
2017-04-12 08:49:08 +02:00
Kim Barrett
f7277d87d5 8160748: Inconsistent types for ideal_reg
Made ideal_reg consistently uint.

Reviewed-by: kvn, iveresov
2017-04-12 01:31:36 -04:00
Per Lidén
ecca839838 8178364: Command-line flags of type double should accept integer values
Reviewed-by: dholmes, sjohanss
2017-04-11 11:12:58 +02:00
Rahul Raghavan
6535b42120 8171813: Reported null pointer dereference defect groups
Added required explicit NULL checks

Reviewed-by: thartmann, zmajo
2017-04-09 20:52:43 -07:00
David Holmes
4483758ed2 Merge 2017-04-06 23:46:38 +00:00
Jesper Wilhelmsson
7e8042dc31 Merge 2017-04-06 22:13:13 +00:00
David Holmes
6b3e092a31 8166927: interfaceSupport.hpp has ancient comments about TSO
Reviewed-by: sspitsyn, dcubed, lfoltan, coleenp
2017-04-06 17:45:10 -04:00
Igor Ignatyev
dcfaa810b0 Merge 2017-04-06 21:14:07 +00:00
Ekaterina Pavlova
11a8c7a52f 8178118: Arguments::create_numbered_property allocates wrong buffer in case count > 99
Reviewed-by: dholmes, dcubed, sspitsyn
2017-04-06 14:07:21 -07:00