Lois Foltan
8c36d0cd2b
8033150: invokestatic: IncompatibleClassChangeError trying to invoke static method from a parent in presence of conflicting defaults
...
A static method should be preferred during method resolution over an overpass, search the current class as well as its superclasses.
Reviewed-by: acorn, coleenp, kamg
2014-04-14 14:27:45 -04:00
Roland Westrelin
f5adc57f94
8032410: compiler/uncommontrap/TestStackBangRbp.java times out on Solaris-Sparc V9
...
Make compiled code bang the stack by the worst case size of the interpreter frame at deoptimization points.
Reviewed-by: twisti, kvn
2014-04-01 09:36:49 +02:00
Roland Westrelin
b21d142f01
8037970: make PrintMethodData a diagnostic options
...
Make PrintMethodData a diagnostic options for performance investigation
Reviewed-by: kvn, iveresov
2014-03-31 10:35:06 +02:00
Axel Siebenborn
faad7883f2
8036976: PPC64: implement the template interpreter
...
Co-authored-by: Martin Doerr <martin.doerr@sap.com>
Reviewed-by: kvn, coleenp
2014-03-10 12:58:02 +01:00
Roland Westrelin
7bee30f699
8036146: make CPP interpreter build again
...
Fix build of CPP interpreter on x86 and sparc
Reviewed-by: kvn
2014-03-05 15:14:25 +01:00
Per Lidén
4dc240f785
8079792: GC directory structure cleanup
...
Reviewed-by: brutisso, stefank, david
2015-05-13 15:16:06 +02:00
Roland Westrelin
493557fc90
8031752: Failed speculative optimizations should be reattempted when root of compilation is different
...
Support for speculative traps that keep track of the root of the compilation in which a trap occurs.
Reviewed-by: kvn, twisti
2014-02-25 18:16:24 +01:00
Axel Siebenborn
b0422f5f50
8035392: cppInterpreter: fix message of NPE
...
Reviewed-by: kvn
2014-02-20 10:48:57 +01:00
Vladimir Kozlov
5117e1a805
Merge
2014-02-19 12:08:49 -08:00
Coleen Phillimore
2759eb10ae
8033528: assert(0 <= i && i < length()) failed: index out of bounds
...
Restoring bytecodes for invokedynamic had wrong index calculation added testing stress option.
Reviewed-by: twisti, hseigel
2014-02-07 18:30:27 -05:00
Calvin Cheung
a3c78aac2f
8032010: Attempt to resolve abstract method in concrete class fails with AbstractMethodError
...
Removing a check in LinkResolver::resolve_method() to conform with a change in JVMS-8 5.4.3.3. Method Resolution
Reviewed-by: coleenp, lfoltan
2014-02-05 15:14:47 -08:00
Vladimir Kozlov
c3a0e80e0b
Merge
2014-01-28 12:25:34 -08:00
Harold Seigel
fe0b2eae89
8031045: Access checks should precede additional per-instruction checks
...
Move access check above the check for non-static method
Reviewed-by: lfoltan, coleenp
2014-01-17 09:39:51 -05:00
Martin Doerr
0306737032
8029101: PPC64 (part 211): ordering of Independent Reads of Independent Writes
...
Reviewed-by: dholmes, kvn
2014-01-16 14:25:51 +01:00
Mikael Vidstedt
a0da47fd66
8029233: Update copyright year to match last edit in jdk8 hotspot repository for 2013
...
Copyright year updated for files modified during 2013
Reviewed-by: twisti, iveresov
2013-12-24 11:48:39 -08:00
Harold Seigel
4856bd53aa
8027804: JCK resolveMethod test fails expecting AbstractMethodError
...
Create AME overpass methods and fix method search logic
Reviewed-by: kamg, acorn, lfoltan, coleenp
2013-12-16 08:24:33 -05:00
Vladimir Kozlov
3b4f167e54
Merge
2013-12-12 11:05:39 -08:00
Goetz Lindenmaier
2131424a64
8029957: PPC64 (part 213): cppInterpreter: memory ordering for object initialization
...
Add StoreStore barriers after object initialization and after constructor calls in the C++ interpreter.
Reviewed-by: kvn
2013-12-11 12:28:09 +01:00
Lois Foltan
5ece6fc7fd
8028741: Interface Method Resolution should skip static and non-public methods in j.l.Object
...
Implementation of JDK 8 JVMS 5.4.3.4 specification change to skip static and non-public methods of java.lang.Object for interface method resolution.
Reviewed-by: acorn, coleenp
2013-12-10 16:18:26 -05:00
Lois Foltan
2078c58bbf
8029415: java/lang/reflect/Method/invoke/TestPrivateInterfaceMethodReflect.java fails on all platforms with hs25-b61
...
Check first that a class is not a dynamically-generated bytecode associated with 1.4 reflection implementation, to emitting an ICCE of an invokespecial IMR of a method in an indirect superinterface.
Reviewed-by: acorn, hseigel
2013-12-06 11:33:10 -05:00
Karen Kinnear
536943884a
8028438: static superclass method masks default methods
...
Reviewed-by: hseigel, lfoltan, coleenp
2013-12-03 11:13:14 -08:00
Karen Kinnear
b5f2f33aaa
8026066: ICCE for invokeinterface static
...
Reviewed-by: coleenp, lfoltan, hseigel
2013-12-03 08:36:15 -08:00
Vladimir Kozlov
1b2bf0be10
Merge
2013-12-05 15:13:12 -08:00
Lois Foltan
28557bc30e
8026065: InterfaceMethodref for invokespecial must name a direct superinterface
...
Add verification to check that invokespecial of an InterfaceMethodref names a method in a direct superinterface of the current class or interface in accordance with JSR 335, JVMS 4.9.2 Structural Constraints.
Reviewed-by: acorn, hseigel, coleenp
2013-11-26 09:52:22 -05:00
Vladimir Kozlov
aabed3781b
Merge
2013-11-21 12:30:35 -08:00
Volker Simonis
86fba81619
8028514: PPC64: Fix C++ Interpreter after '7195622: CheckUnhandledOops has limited usefulness now'
...
Fix CPP-interpreter after CheckUnhandledOops was re-enabled in the fastdebug build
Reviewed-by: kvn, dholmes, lfoltan
2013-11-19 11:53:58 -08:00
Coleen Phillimore
3e62155fec
8028347: Rewriter::scan_method asserts with array oob in RT_Baseline
...
Fix reversing rewriting for invokespecial
Reviewed-by: jrose, hseigel
2013-11-15 17:20:22 -05:00
Coleen Phillimore
0ff8fc93db
8025937: assert(existing_f1 == NULL || existing_f1 == f1) failed: illegal field change
...
Create extra constant pool cache entries for invokespecial/InterfaceMethodref to hold the alternate resolution.
Reviewed-by: jrose, lfoltan, hseigel
2013-11-13 16:42:24 -05:00
Karen Kinnear
4b35aa3d1e
8027229: ICCE expected for >=2 maximally specific default methods
...
Need to process defaults for interfaces for invokespecial
Reviewed-by: lfoltan, hseigel, coleenp, jrose
2013-11-13 07:31:26 -08:00
Vladimir Kozlov
39b0e57fdd
Merge
2013-11-05 17:38:04 -08:00
Igor Veresov
1c02aa59c9
Merge
2013-10-28 17:32:02 -07:00
Igor Veresov
986d2145ba
Merge
2013-10-24 16:25:24 -07:00
Christian Thalinger
9620913796
8026328: Setting a breakpoint on invokedynamic crashes the JVM
...
Reviewed-by: jrose, roland
2013-10-24 16:23:07 -07:00
Lois Foltan
033c5b68ea
8026394: Eclipse fails with JDK8 build 111
...
If the resolved interface does not itself contain "clone" or "finalize" methods, the method/interface method resolution looks to the interface's super class, java.lang.Object. With the JDK 8 interface method accessability check requirement, since these two methods are declared within Object as protected, they must be special cased in LinkResolver::check_method_accessability() in order to avoid an IAE.
Reviewed-by: acorn, dholmes
2013-10-22 14:47:59 -04:00
Roland Westrelin
b94884a330
8026251: New type profiling points: parameters to methods
...
X86 interpreter and c1 type profiling for parameters on method entries
Reviewed-by: kvn, twisti
2013-10-22 09:51:47 +02:00
Calvin Cheung
e187f54e56
Merge
2013-10-18 19:44:40 -07:00
Igor Veresov
d94fef24b5
Merge
2013-10-17 10:58:45 -07:00
Lois Foltan
21627fb02f
8024804: Crash when InterfaceMethodref resolves to Object.registerNatives
...
Added check for NULL prior to continuation of method look up to avoid runtime crash during look up of Object's superclass' methods.
Reviewed-by: coleenp, hseigel
2013-10-16 14:32:05 -04:00
Karen Kinnear
72e7308263
8026299: invokespecial gets ICCE when it should get AME
...
Reviewed-by: ccheung, coleenp
2013-10-14 21:52:42 -04:00
David Chase
b1d7228bff
8026124: JSR-292 bug: java.nio.file.Path.toString cores dump
...
Catch problem case, assert it matches valid input, new test
Reviewed-by: jrose, twisti, kvn
2013-10-12 17:26:41 -04:00
Karen Kinnear
088ded71f9
8009130: Lambda: Fix access controls, loader constraints
...
New default methods list with inherited superinterface methods
Reviewed-by: minqi, sspitsyn, coleenp
2013-10-07 12:20:28 -04:00
Karen Kinnear
71a3a55630
8011311: Private interface methods. Default conflicts:ICCE. no erased_super_default
...
Reviewed-by: coleenp, bharadwaj, minqi
2013-10-01 08:10:42 -04:00
Lois Foltan
7bf953d005
7195622: CheckUnhandledOops has limited usefulness now
...
Enable CHECK_UNHANDLED_OOPS in fastdebug builds across all supported platforms.
Reviewed-by: coleenp, hseigel, dholmes, stefank, twisti, ihse, rdurbin
2013-09-26 10:25:02 -04:00
Goetz Lindenmaier
0732a739b3
8024468: PPC64 (part 201): cppInterpreter: implement bytecode profiling
...
Implement profiling for c2 jit compilation. Also enable new cppInterpreter features.
Reviewed-by: kvn
2013-09-15 15:28:58 +02:00
David Chase
222c735458
8014013: CallInfo structure no longer accurately reports the result of a LinkResolver operation
...
Enhance method resolution and resulting data structures, plus some refactoring.
Reviewed-by: twisti, acorn, jrose
2013-09-13 22:38:02 -04:00
Goetz Lindenmaier
28ae8cc785
8024469: PPC64 (part 202): cppInterpreter: support for OSR
...
Call OSR migration with last java frame.
Reviewed-by: kvn
2013-09-13 22:50:47 +02:00
Vladimir Kozlov
1a700c9216
Merge
2013-09-05 11:04:39 -07:00
Goetz Lindenmaier
fac7ee02c5
8023033: PPC64 (part 13): basic changes for AIX
...
Added AIX includes alpha-sorted before BSD. Fix compilation issues with xlC in shared code. Basic shared platform dependend adaption (vm_version etc.).
Reviewed-by: kvn, dholmes, stefank
2013-08-22 09:39:54 -07:00
Serguei Spitsyn
4974d1aef2
7187554: JSR 292: JVMTI PopFrame needs to handle appendix arguments
...
Restore the appendix argument after PopFrame() call
Reviewed-by: twisti, coleenp
2013-08-06 16:33:59 -07:00
Vladimir Kozlov
493c485dc3
Merge
2013-07-11 12:56:29 -07:00