279 Commits

Author SHA1 Message Date
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
Goetz Lindenmaier
1519be5241 8020121: PPC64: fix build in cppInterpreter after 8019519
Reviewed-by: kvn
2013-07-09 14:28:07 +02:00
Goetz Lindenmaier
6514fe6794 8019519: PPC64 (part 105): C interpreter: implement support for jvmti early return
Reviewed-by: sspitsyn, kvn
2013-07-03 11:25:06 +02:00
David Chase
9a359984c2 7088419: Use x86 Hardware CRC32 Instruction with java.util.zip.CRC32
Add intrinsics using new instruction to interpreter, C1, C2, for suitable x86; add test

Reviewed-by: kvn, twisti
2013-07-02 20:42:12 -04:00
Goetz Lindenmaier
8cc4fad115 8019518: PPC64 (part 103): cppInterpreter: implement support for compressed Oops
Reviewed-by: kvn, coleenp
2013-07-03 01:41:42 +02:00
Goetz Lindenmaier
7c47a187f2 8019517: PPC64 (part 102): cppInterpreter: implement G1 support
Reviewed-by: kvn
2013-07-03 01:29:13 +02:00
Vladimir Kozlov
16f3142152 Merge 2013-07-03 11:50:29 -07:00
Volker Simonis
7936ee54bf 8019382: PPC64: Fix bytecodeInterpreter to compile with '-Wunused-value'
Cast the offending expressions to (void)

Reviewed-by: kvn, coleenp
2013-07-01 14:14:16 -07:00
Goetz Lindenmaier
1e0a321895 8017317: PPC64 (part 7): cppInterpreter: implement support for biased locking
Reviewed-by: kvn, dholmes
2013-06-26 16:06:38 +02:00
Goetz Lindenmaier
1f6c4015a7 8017531: 8010460 changes broke bytecodeInterpreter.cpp
Replace _indy by _jsr292 and also fix VERIFY_OOP macros.

Reviewed-by: kvn
2013-06-24 16:11:47 +02:00
Vladimir Kozlov
b390a2d8e3 Merge 2013-06-21 15:56:24 -07:00
Goetz Lindenmaier
0522ce7a17 8016586: PPC64 (part 3): basic changes for PPC64
Added #includes needed for ppc64 port. Renamed _MODEL_ppc to _MODEL_ppc_32 and renamed corresponding old _ppc files to _ppc_32.

Reviewed-by: dholmes, kvn
2013-06-20 16:30:44 -07:00