Stefan Karlsson
d326162380
8064580: Move INCLUDE_CDS include section to the end of the include list
...
Reviewed-by: jwilhelm, brutisso, coleenp, dholmes
2014-11-11 17:05:33 +01:00
Karen Kinnear
0e1283a811
8043275: Fix interface initialization for default methods
...
Initialize interfaces that declare concrete instance methods.
Reviewed-by: kamg, coleenp, psandoz
2014-10-22 15:24:37 -07:00
Harold Seigel
9f06aa633c
8041717: Issue with class file parser
...
Add better checking for bad values.
Reviewed-by: coleenp, lfoltan, mschoene
2014-05-30 13:23:27 -04:00
Ioi Lam
bbe6f51f81
8046070: Class Data Sharing clean up and refactoring
...
Cleaned up CDS to be more configurable, maintainable and extensible
Reviewed-by: dholmes, coleenp, acorn, mchung
2014-08-12 17:29:00 -07:00
Karen Kinnear
55dc1a6965
8037167: Better method signature resolution
...
Reviewed-by: mschoene, hseigel, lfoltan
2014-07-14 13:15:06 +04:00
Harold Seigel
53685b407a
8036800: Attribute OOM to correct part of code
...
Checks that the attribute_length does not exceed the length of remaining data in the class file
Reviewed-by: coleenp, ahgross
2014-07-14 13:01:34 +04:00
Harold Seigel
08e90ebfcb
8026894: Improve VerifyError message about overriding a final method
...
Add full class name to error message.
Reviewed-by: fparain, zgu, lfoltan
2014-07-03 10:25:42 -04:00
Coleen Phillimore
d8ce93cea5
6642881: Improve performance of Class.getClassLoader()
...
Add classLoader to java/lang/Class instance for fast access
Reviewed-by: alanb, lfoltan, rriggs, vlivanov, twisti, jfranck
2014-06-19 14:49:33 -04:00
Coleen Phillimore
243d697d71
8026977: NPG: Remove ConstantPool::lock
...
Write klass and resolved_references constant pool fields lock free.
Reviewed-by: jrose, twisti
2014-06-19 11:16:10 -04:00
Coleen Phillimore
cef2b3be11
8039150: host_klass invariant fails when verifying newly loaded JSR-292 anonymous classes
...
Initialize host_klass while parsing the class with the other initializations.
Reviewed-by: sspitsyn, stefank
2014-06-18 13:58:13 -04:00
Harold Seigel
b6a2f946f6
8031819: Remove legacy jdk checks and code
...
Delete old jdk specific code.
Reviewed-by: dholmes, coleenp, zgu, lfoltan
2014-06-11 09:58:23 -04:00
Harold Seigel
70c76ec8c4
8044738: Check attribute_length of EnclosingMethod attribute
...
Add check that attribute_length == 4.
Reviewed-by: fparain, coleenp, lfoltan
2014-06-10 14:04:37 -04:00
Dmitry Samersoff
c291efb1df
6904403: assert(f == k->has_finalizer(),"inconsistent has_finalizer") with debug VM
...
Don't assert if one of classes in hierarhy was redefined
Reviewed-by: coleenp, sspitsyn
2014-05-28 07:36:32 -07:00
Lois Foltan
ca501f6b00
8041918: BootstrapMethods attribute cannot be empty
...
Allow a BootstrapMethods attribute that contains an empty bootstrap_methods table where num_bootstrap_methods is equal to zero.
Reviewed-by: coleenp, hseigel
2014-05-15 09:25:27 -04:00
Harold Seigel
976e7c8aa7
8040292: Annotation attributes must not appear more than once
...
Add checks for duplicate attributes.
Reviewed-by: coleenp, lfoltan
2014-05-12 13:12:30 -04:00
Tobias Hartmann
06c26b6f97
8036956: remove EnableInvokeDynamic flag
...
The EnableInvokeDynamic flag and all support code is removed because it is not longer used in JDK 9.
Reviewed-by: kvn, twisti
2014-04-29 08:08:44 +02:00
Daniel D. Daugherty
e403797d96
Merge
2014-04-18 10:55:41 -07:00
Harold Seigel
cfa7d828d9
8040018: Remove bad assert in ClassFileParser.cpp
...
Remove assert that prevent throwing valid exception
Reviewed-by: coleenp, lfoltan
2014-04-18 08:51:34 -04:00
Alejandro Murillo
331d26800c
Merge
2014-04-15 15:37:36 -07:00
Coleen Phillimore
c8990959f2
8028497: SIGSEGV at ClassLoaderData::oops_do(OopClosure*, KlassClosure*, bool)
...
Keep class in CLD::_klasses list and mirror created for CDS classes if OOM during restore_shareable_info(). This keeps pointers consistent for CMS.
Reviewed-by: ehelin, stefank, jmasa, iklam
2014-04-08 13:58:38 -04: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
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
Harold Seigel
9099e9ddcc
8034926: Attribute classes properly
...
Add check to prevent underflow
Reviewed-by: coleenp, ahgross
2014-02-20 13:11:23 -05: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
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
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
Lana Steuck
c71f3cdbe6
Merge
2013-10-17 14:20:57 -07:00
Chris Hegarty
fafe7da1e5
Merge
2013-10-13 21:14:04 +01: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
Igor Veresov
51a9303c03
Merge
2013-10-03 16:38:21 +04:00
Vladimir Ivanov
02e57a0152
8025233: Move sun.invoke.Stable into java.lang.invoke package
...
Reviewed-by: twisti, iveresov
2013-10-02 06:17:10 -07: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
Niclas Adlertz
afef481831
Merge
2013-09-19 18:01:39 +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
Zhengyu Gu
9e8f860fec
Merge
2013-09-13 10:34:15 -04:00
Vladimir Ivanov
f0e77ac67f
8001107: @Stable annotation for constant folding of lazily evaluated variables
...
Co-authored-by: John Rose <john.r.rose@oracle.com>
Reviewed-by: rbackman, twisti, kvn
2013-09-10 14:51:48 -07:00
Harold Seigel
76033b1a37
8023167: JVM allows duplicate Runtime[In]VisibleTypeAnnotations attributes in ClassFile/field_info/method_info structures
...
Add checks for duplicates and issue errors when detected.
Reviewed-by: coleenp, zgu
2013-09-09 14:44:37 -04:00
Karen Kinnear
38560368c1
8012294: remove generic handling for default methods
...
Reviewed-by: kamg, coleenp
2013-08-26 11:35:25 -04:00
Ioi Lam
e412d7e8d1
8023683: Enhance class file parsing
...
Use the value returned by REALLOC_RESOURCE_ARRAY()
Reviewed-by: coleenp, ahgross
2013-08-24 00:14:46 -07:00
Chris Hegarty
e3149a4bcb
Merge
2013-08-30 09:50:49 +01:00
Jiangli Zhou
553b498f51
8021948: Change InstanceKlass::_source_file_name and _generic_signature from Symbol* to constant pool indexes
...
Change InstanceKlass::_source_file_name and _generic_signature to u2 fields.
Reviewed-by: coleenp, iklam
2013-08-19 14:59:54 -04:00
Chris Hegarty
856809eb94
Merge
2013-08-02 11:10:39 +01:00
Jiangli Zhou
3dfcb4125e
8020309: Eliminate InstanceKlass::_cached_class_file_len
...
Use JvmtiCachedClassFileData.
Reviewed-by: iklam, sspitsyn, dcubed
2013-07-17 18:06:29 -04:00
Harold Seigel
8379a071b6
8016256: Make finalization final
...
Add private methods to final methods check
Reviewed-by: coleenp, acorn, ahgross
2013-07-11 12:59:03 -04:00
Staffan Larsen
718f3252f6
8005849: JEP 167: Event-Based JVM Tracing
...
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Bengt Rutisson <bengt.rutisson@oracle.com>
Co-authored-by: Calvin Cheung <calvin.cheung@oracle.com>
Co-authored-by: Erik Gahlin <erik.gahlin@oracle.com>
Co-authored-by: Erik Helin <erik.helin@oracle.com>
Co-authored-by: Jesper Wilhelmsson <jesper.wilhelmsson@oracle.com>
Co-authored-by: Keith McGuigan <keith.mcguigan@oracle.com>
Co-authored-by: Mattias Tobiasson <mattias.tobiasson@oracle.com>
Co-authored-by: Markus Gronlund <markus.gronlund@oracle.com>
Co-authored-by: Mikael Auno <mikael.auno@oracle.com>
Co-authored-by: Nils Eliasson <nils.eliasson@oracle.com>
Co-authored-by: Nils Loodin <nils.loodin@oracle.com>
Co-authored-by: Rickard Backman <rickard.backman@oracle.com>
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Co-authored-by: Yekaterina Kantserova <yekaterina.kantserova@oracle.com>
Reviewed-by: acorn, coleenp, sla
2013-06-10 11:30:51 +02:00
Aleksey Shipilev
375e12feb9
8015270: @Contended: fix multiple issues in the layout code
...
Field count handling fixed, has_nonstatic_fields invariant fixed, oop map overrun fixed; new asserts
Reviewed-by: kvn, dcubed, coleenp
2013-05-27 12:49:08 -07:00
Coleen Phillimore
6ed8c8fcea
8003421: NPG: Move oops out of InstanceKlass into mirror
...
Inject protection_domain, signers, init_lock into java_lang_Class
Reviewed-by: stefank, dholmes, sla
2013-05-22 14:37:49 -04:00
Bharadwaj Yadavalli
19da55568f
8014059: JSR292: Failed to reject invalid class cplmhl00201m28n
...
Restrict reference of interface methods by invokestatic and invokespecial to classfile version 52 or later.
Reviewed-by: kvn, hseigel
2013-05-21 16:17:51 -07:00
Aleksey Shipilev
a462587e4b
8014878: Clean up class field layout code
...
Rename/remove local variables, re-arrange instance_size calculation, more comments.
Reviewed-by: kvn, coleenp
2013-05-20 23:41:27 +04:00
Daniel D. Daugherty
9a6dfe1c55
Merge
2013-05-17 11:36:43 -07:00