Claes Redestad
a986a96554
8183232: Avoid resolving method_kind in AbstractInterpreter::can_be_compiled
...
Reviewed-by: coleenp, mdoerr, neliasso
2017-07-03 09:01:34 +02:00
Kim Barrett
6cc7e33ce7
8181449: Fix debug.hpp / globalDefinitions.hpp dependency inversion
...
Refactor debug.hpp and reverse include dependency.
Reviewed-by: coleenp, stefank, dcubed
2017-06-22 20:47:22 -04:00
Coleen Phillimore
6659245612
8174749: Use hash table/oops for MemberName table
...
Add a Java type called ResolvedMethodName which is immutable and can be stored in a hashtable, that is weakly collected by gc
Reviewed-by: sspitsyn, stefank, jrose
2017-05-27 09:21:01 -04:00
Mikael Vidstedt
f1f868513d
8180032: Unaligned pointer dereference in ClassFileParser
...
Reviewed-by: dholmes, hseigel
2017-05-26 13:47:33 -07:00
Vladimir Kozlov
063286a618
Merge
2017-05-12 13:14:25 -07:00
Coleen Phillimore
1457155505
8168699: Validate special case invocations
...
Reviewed-by: acorn, kvn, lfoltan, ctornqvi, ahgross, vlivanov
2016-12-01 14:21:31 -05: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
Jesper Wilhelmsson
3bfd349b45
Merge
2016-12-20 22:53:45 +01: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
Martin Doerr
c44e860576
8171244: PPC64: Make interpreter's math entries consistent with C1 and C2 and support FMA
...
Reviewed-by: kvn, goetz
2016-12-15 14:24:04 +01:00
Coleen Phillimore
157bfcd7da
Merge
2016-12-19 14:12:33 +00:00
Zoltan Majo
269508dcf5
8171155: Scanning method file for initialized final field updates can fail for non-existent fields
...
Check if field exists before possibly marking it as having initialized final updates.
Reviewed-by: stsmirno, vlivanov, coleenp
2016-12-19 08:31:01 +01:00
Severin Gehwolf
f6acd61df6
8170767: Zero fastdebug build triggers assertion
...
Add missing interpreter entries for java_lang_math_fmaD/F.
Reviewed-by: coleenp
2016-12-07 13:37:37 +01:00
Tobias Hartmann
94e3514d8f
8169711: CDS does not patch entry trampoline if intrinsic method is disabled
...
Always create interpreter method entries for intrinsified methods but replace them with vanilla entries if the intrinsic is disabled at runtime.
Reviewed-by: kvn, iklam
2016-11-21 08:27:10 +01: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
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
Ioi Lam
9d5b85daf4
8178350: klassVtable and klassItable should be ValueObj
...
Reviewed-by: coleenp
2017-04-13 01:56:01 -07:00
Coleen Phillimore
c9bbd2b4f2
8168438: Fix comment in rewriter
...
Reviewed-by: jiangli, sspitsyn
2017-04-04 21:07:19 -04:00
Coleen Phillimore
4b9562288f
8155672: Remove instanceKlassHandles and KlassHandles
...
Use unhandled pointers for Klass and InstanceKlass, remove handles with no implementation.
Reviewed-by: dholmes, lfoltan, vlivanov, sspitsyn
2017-03-15 10:25:37 -04:00
Bob Vandette
929fc23c45
Merge
2017-02-24 12:41:26 -05:00
Max Ockner
697bec6baf
8169206: TemplateInterpreter::_continuation_entry is never referenced
...
TemplateInterpreter::_continuation_entry has been removed.
Reviewed-by: coleenp, dholmes, fparain
2017-02-13 10:37:33 -05:00
Harold Seigel
6e88661a89
8174092: Remove array-related access checks from Reflection::verify_class_access()
...
Change the parameter type to InstanceKlass* and fix the method's callers
Reviewed-by: acorn, coleenp, gtriantafill, lfoltan
2017-02-10 07:46:07 -05:00
Paul Sandoz
a1289cce5b
8166974: invokedynamic implementation should not wrap Errors
...
Reviewed-by: dholmes, jrose
2016-10-14 14:47:01 -07:00
Goetz Lindenmaier
7aed968c10
8166560: [s390] Basic enablement of s390 port
...
Also fix problem with ARM Elf configuration.
Reviewed-by: dholmes, coleenp
2016-09-22 18:23:15 +02:00
Tom Rodriguez
a777d77fb5
8166929: [JVMCI] Expose decompile counts in MDO
...
Reviewed-by: twisti
2016-10-05 11:32:50 -07:00
David Holmes
d1856645bc
8081800: AbstractMethodError when evaluating a private method in an interface via debugger
...
Reviewed-by: acorn, dcubed, coleenp
2016-10-03 21:48:21 -04:00
Vivek Deshpande
d58e3e0324
8154122: Intrinsify fused mac operations
...
Added FMA intrinsics on x86
Reviewed-by: kvn, aph, darcy
2016-08-26 12:17:50 -07:00
Zoltan Majo
97ed41a8e9
8163880: Constant pool caching of fields inhibited/delayed unnecessarily
...
Delay/inhibit constant pool caching of fields only if necessary
Reviewed-by: kvn
2016-08-29 07:32:37 +02:00
David Holmes
5f1f4489ac
8157907: Incorrect inclusion of atomic.hpp instead of atomic.inline.hpp
...
Remove atomic.inline.hpp and move the contents back into atomic.hpp
Reviewed-by: stefank, pliden, simonis
2016-08-21 20:56:37 -04:00
Rickard Bäckman
5ce5d9f4cc
Merge
2016-07-29 09:23:05 +02:00
Goetz Lindenmaier
da3339948e
8161258: Simplify including platform files
...
Include patform files with macros cpu_header() etc. Do various cleanups of macro usages. Remove _64/_32 from adlc generated files and platform .hpp files. Merge stubRoutines_x86*.hpp. Remove empty mutex_<os>* files.
Reviewed-by: dholmes, coleenp, kbarrett
2016-07-13 12:23:05 +02:00
Goetz Lindenmaier
6cf9b5c453
8160245: C1: Clean up platform #defines in c1_LIR.hpp
...
Also add fnoreg on x86, LIR_Address constructor without scale, clean up templateInterpreterGenerator.hpp and remove PPC32 special cases.
Reviewed-by: coleenp, thartmann
2016-06-23 22:33:46 +02:00
Zoltan Majo
e0e3bd5582
8160527: Check for final instance field updates can be omitted
...
Disable final field resolution in the constant pool cache. Correct error message printed at field resolution. New tests.
Reviewed-by: jrose, coleenp
2016-07-06 11:16:36 +02:00
Coleen Phillimore
fd1c7ff505
8160551: assert(c == Bytecodes::_putfield) failed: must be putfield
...
Illegal bytecodes which are detected later hit this assert first.
Reviewed-by: jrose
2016-06-29 20:16:05 -04:00
Vladimir Kozlov
634a7fdebc
Merge
2016-06-24 15:09:00 -07:00
Goetz Lindenmaier
8a945875b6
8159335: Fix problems with stack overflow handling
...
Reviewed-by: dlong, coleenp, mdoerr
2016-06-13 09:28:25 +02:00
Zoltan Majo
cdc436922a
8157181: Compilers accept modification of final fields outside initializer methods
...
Track initialized final field updates; disable constant folding if an update is detected. Enforce final field update rules introduced by JVMS-7 (but only for JDK 9).
Reviewed-by: vlivanov, dnsimon, forax, never, kvn, coleenp
2016-06-15 14:27:58 +02:00
Coleen Phillimore
7419c9549b
8158397: Crash: assert(save_resolved_method == resolved_method()) failed: does this change?
...
Remove assert. it does change.
Reviewed-by: sspitsyn, jiangli, mgronlun
2016-06-03 08:33:28 -04:00
Artem Smotrakov
c7a54bbb06
Merge
2016-05-27 19:43:58 +00:00
Artem Smotrakov
68c8a74fbe
8152207: Perform array bound checks while getting a length of bytecode instructions
...
Reviewed-by: hseigel
2016-05-27 09:25:49 -07:00
Coleen Phillimore
c36295e947
8145148: InterfaceMethod CP entry pointing to a class should cause ICCE
...
Pass tag in LinkInfo and check that resolved method type matches tag, fix tests.
Reviewed-by: sspitsyn, minqi
2016-05-27 10:52:39 -04:00
Robbin Ehn
2523b1942a
8153535: Convert TraceRedefineClasses to Unified Logging
...
Reviewed-by: rprotacio, coleenp
2016-05-09 22:22:15 +02:00
Vladimir Ivanov
72747f47fd
Merge
2016-04-29 02:13:40 +03:00
Tom Rodriguez
593cf3fb16
8152903: [JVMCI] CompilerToVM::resolveMethod should correctly handle private methods in interfaces
...
Reviewed-by: iveresov
2016-04-27 16:20:49 -07:00
Coleen Phillimore
de88e58a82
8154580: Save mirror in interpreter frame to enable cleanups of CLDClosure
...
GC walks the mirror using OopClosure rather than using CLDClosure in oops_interpreted_do()
Reviewed-by: dlong, twisti, stefank
2016-04-25 09:51:00 -04:00
Andrew Haley
651e264d3c
8154210: Zero: Better byte behaviour
...
Complete support for 8132051 on Zero and fix failure on 64-bit big-endian systems
Reviewed-by: andrew, chrisphi, coleenp
2016-04-22 14:30:58 +02:00
Alejandro Murillo
f9426642c6
Merge
2016-04-22 01:04:00 -07:00
Bharadwaj Yadavalli
d61df5babe
Merge
2016-04-19 15:26:59 -04:00
Stefan Karlsson
f78228b2ee
8153967: Remove top.hpp
...
Reviewed-by: coleenp, jwilhelm
2016-04-12 09:53:43 +02:00