897 Commits

Author SHA1 Message Date
Stefan Karlsson
ba2326e19f 8035648: Don't use Handle in java_lang_String::print
Reviewed-by: coleenp, pliden
2014-02-27 10:34:55 +01:00
Erik Helin
a45b9ead44 Merge 2014-02-25 11:02:11 +01:00
Per Lidén
4dc240f785 8079792: GC directory structure cleanup
Reviewed-by: brutisso, stefank, david
2015-05-13 15:16:06 +02:00
Stefan Karlsson
a235c50791 8035412: Cleanup ClassLoaderData::is_alive
Reviewed-by: coleenp, mgerdin
2014-02-21 10:19:09 +01:00
Vladimir Kozlov
4200d0d095 Merge 2014-02-20 12:20:56 -08:00
Vladimir Kozlov
5117e1a805 Merge 2014-02-19 12:08:49 -08:00
Coleen Phillimore
4ab0b2732c 8027146: Class loading verification failure if GC occurs in Universe::flush_dependents_on
Remove search in system dictionary and hacks, replace with verifying in CLD::_klasses list.

Reviewed-by: dcubed, acorn
2014-02-15 13:03:38 -05:00
Yumin Qi
a90e842e0c 8033792: AltHashing used jint for imprecise bit shifting
AltHashing used jint the way of juint in bit shifting which could lead loss of precision. Fix  by change _seed defined as juint.

Reviewed-by: coleenp, ccheung
2014-02-10 21:29:14 -08:00
Christian Tornqvist
dd25d6fed0 8016644: Improve UnsupportedClassVersionError message
Improved the UnsupportedClassVersionError message to hopefully be more user friendly

Reviewed-by: coleenp, dholmes, twisti
2014-02-10 17:49:17 +01:00
Erik Helin
4b802a6d31 Merge 2014-01-30 14:01:45 +01:00
Vladimir Kozlov
c3a0e80e0b Merge 2014-01-28 12:25:34 -08:00
Harold Seigel
39f19c2f76 8028553: The JVM should not throw VerifyError when 'overriding' a static final method in a superclass
Check if method is static before throwing exception.

Reviewed-by: kamg, coleenp, lfoltan, fparain
2014-01-24 08:13:42 -05:00
Morris Meyer
92d751996e Merge 2014-01-17 10:43:43 -08:00
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