834 Commits

Author SHA1 Message Date
Shrinivas Joshi
d4c9d3889b 8002074: Support for AES on SPARC
Add intrinsics/stub routines support for single-block and multi-block (as used by Cipher Block Chaining mode) AES encryption and decryption operations on the SPARC platform.

Reviewed-by: kvn, roland
2014-01-14 17:46:48 -08:00
Harold Seigel
44a8bf65f3 8031059: invokestatic: ICCE trying to invoke static method when it clashes with an abstract method inherited from an interface
Do not create AME overpass if there is a matching static method

Reviewed-by: lfoltan, coleenp, kamg
2014-01-14 16:27:35 -05:00
Thomas Schatzl
4bb3631855 8027476: Improve performance of Stringtable unlink
8027455: Improve symbol table scan times during gc pauses

Parallelize string table and symbol table scan during remark and full GC. Some additional statistics output if the experimental flag G1TraceStringSymbolTableScrubbing is set.

Reviewed-by: mgerdin, coleenp, brutisso
2014-01-20 11:47:07 +01:00
Harold Seigel
f84476eec5 Merge 2014-01-13 18:30:57 -05:00
Morris Meyer
a665235538 Merge 2014-01-10 12:54:08 -08:00
Harold Seigel
9099e9ddcc 8034926: Attribute classes properly
Add check to prevent underflow

Reviewed-by: coleenp, ahgross
2014-02-20 13:11:23 -05:00
Igor Ignatyev
26ad8adaf4 8031115: intrinsics for Math.decrementExact(J) and incrementExact(J) don't work
Reviewed-by: kvn, twisti
2014-01-09 19:03:36 +04:00
Daniel D. Daugherty
1eed5c3f4d Merge 2014-01-08 13:53:24 -08:00
Jeremy Manson
783155575c 8031376: TraceClassLoading expects there to be a (Java) caller when you load a class with the bootstrap class loader
Reviewed-by: sla, dholmes
2014-01-08 08:34:02 +01:00
Coleen Phillimore
469f290817 8029178: Parallel class loading test anonymous-simple gets SIGSEGV in Metaspace::contains
Metaspace::contains cannot look at purged metaspaces while CMS concurrently deallocates them.

Reviewed-by: mgerdin, sspitsyn, jmasa
2014-01-07 13:26:56 -05:00
Joe Darcy
4d741fe483 8030656: Bad version check for parameter information in src/share/vm/classfile/javaClasses.cpp
Switched version check to check for greater than or equal to 8, not equal to 8

Reviewed-by: dholmes, kamg
2013-12-26 11:16:44 -05: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
Coleen Phillimore
208a1a025e 8030633: nsk/jvmti/RedefineClasses/StressRedefine failed invalid method ordering length on Solaris
A method with no declared methods was getting an AME overpass method with the latest change.  The method_ordering array was not updated for the new methods.

Reviewed-by: dcubed, acorn, dsamersoff, lfoltan, hseigel
2013-12-19 20:28:45 +00: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
Roland Westrelin
bbb97e5b39 8029383: assert(counter_changed) failed: failed dependencies, but counter didn't change
No call to SystemDictionary::notice_modification() when class is defined through Unsafe.defineAnonymousClass() can caused missed dependency change.

Reviewed-by: kvn, twisti
2013-12-13 09:25:44 +01:00
Vladimir Kozlov
3b4f167e54 Merge 2013-12-12 11:05:39 -08:00
Karen Kinnear
536943884a 8028438: static superclass method masks default methods
Reviewed-by: hseigel, lfoltan, coleenp
2013-12-03 11:13:14 -08:00
Vladimir Kozlov
1b2bf0be10 Merge 2013-12-05 15:13:12 -08:00
David Chase
4620107099 Merge 2013-11-29 11:32:45 -05:00
David Chase
78f1afbf45 8016839: JSR292: AME instead of IAE when calling a method
Catch missing-because-illegal case for itable entries and use an exception-throwing method instead of null.

Reviewed-by: acorn, jrose, coleenp
2013-11-26 18:16:04 -05: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
Markus Grönlund
b1e3461fe5 8028128: Add a type safe alternative for working with counter based data
Reviewed-by: dholmes, egahlin
2013-11-23 12:25:13 +01:00
Vladimir Kozlov
aabed3781b Merge 2013-11-21 12:30:35 -08:00
Harold Seigel
34329af386 8028520: JVM should not throw VerifyError when a private method overrides a final method
Exclude private methods when checking for final method override.

Reviewed-by: kamg, coleenp, dholmes, mseledtsov
2013-11-21 14:41:13 -05:00
Staffan Larsen
92187d7583 8027630: SIGSEGV in const char*Klass::external_name()
Reviewed-by: coleenp, sspitsyn, mgronlun
2013-11-18 10:20:13 +01:00
Yumin Qi
7496b461e3 8025632: Remove all references to MagicLambdaImpl from Hotspot
MagicLambdaImpl was removed from jdk side, this should be done in vm side too

Reviewed-by: coleenp, hseigel, rdurbin
2013-11-13 16:24:33 -08: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
Markus Grönlund
49dc297cc1 Merge 2013-11-01 17:10:31 +00:00
Markus Grönlund
6529c5b95b Merge 2013-11-01 15:56:06 +01:00
Coleen Phillimore
b1689ab022 8026946: JvmtiEnv::SetBreakpoint and JvmtiEnv::ClearBreakpoint should use MethodHandle
8026948: JvmtiEnv::SetBreakpoint and JvmtiEnv::ClearBreakpoint might not work with anonymous classes

Walk methods in breakpoints for marking on stack so they aren't deallocated by redefine classes.  Use class_holder rather than class_loader to keep GC from reclaiming class owning the method.

Reviewed-by: sspitsyn, ehelin, sla
2013-11-01 10:32:36 -04:00
Vladimir Danushevsky
42e466665d Merge 2013-10-30 16:31:33 -07:00
Calvin Cheung
3a87356f24 Merge 2013-10-30 14:02:27 -07:00
Joseph Provino
3ca0c7e694 Merge 2013-10-30 16:06:48 -04:00
Karen Kinnear
ca92769602 8027304: Lambda: inheriting abstract + 1 default -> default, not ICCE
Reviewed-by: hseigel, zgu
2013-10-30 09:11:04 -07:00
Joseph Provino
716d7904c5 Merge 2013-10-27 14:11:06 -04:00
Calvin Cheung
bea255ee35 Merge 2013-10-25 22:06:43 -07:00
Alejandro Murillo
2fc1606df2 Merge 2013-10-25 13:29:17 -07:00
Fredrik Arvidsson
508272e5f5 8024423: JVMTI: GetLoadedClasses doesn't enumerate anonymous classes
Rewrite of the getLoadedClasses() method implementation to include anonymous classes.

Reviewed-by: coleenp, sspitsyn
2013-10-24 10:02:02 +02:00
David Holmes
33d6b93e22 8026877: Error in opening JAR file when invalid jar specified with -Xbootclasspath/a on OpenJDK build
Reviewed-by: coleenp, twisti
2013-10-24 00:33:14 -04:00
Alejandro Murillo
0ce7855814 Merge 2013-10-22 13:56:26 -07:00
Karen Kinnear
4f064cafe6 8026365: NoClassDefinitionFound for anonymous class invokespecial
Reviewed-by: dcubed, kamg
2013-10-17 23:30:17 -04:00
Lana Steuck
c71f3cdbe6 Merge 2013-10-17 14:20:57 -07:00
Rickard Bäckman
615376fb9b 8026844: Various Math functions needs intrinsification
Reviewed-by: kvn, twisti
2013-10-18 10:41:56 +02:00
Christian Thalinger
be1ae599ee 8026502: java/lang/invoke/MethodHandleConstants.java fails on all platforms
Reviewed-by: iveresov, jrose
2013-10-23 15:44:12 -07:00
Chris Hegarty
fafe7da1e5 Merge 2013-10-13 21:14:04 +01:00
John Coomes
e61cbf8d69 Merge 2013-10-11 08:27:21 -07:00
Igor Veresov
db9a439624 Merge 2013-10-13 13:22:24 -07:00
Karen Kinnear
920880a243 8026022: Verifier: allow anon classes to invokespecial host class/intf methods
Reviewed-by: coleenp, bharadwaj
2013-10-08 16:58:23 -04:00
Igor Veresov
f2e6d682a1 Merge 2013-10-08 07:08:27 -07:00