Erik Joelsson
3789983e89
8187443: Forest Consolidation: Move files to unified layout
...
Reviewed-by: darcy, ihse
2017-09-12 19:03:39 +02:00
Harold Seigel
1a92a2ad53
8185717: Make ModuleEntry->module() return an oop not a jobject
...
Change ModuleEntry::module() to return an oop and add a ModuleEntry::module_handle() that returns a jobject
Reviewed-by: shade, coleenp, lfoltan
2017-08-08 09:53:52 -04:00
Coleen Phillimore
af5c6eefbf
8183039: Re-examine methodHandle methods uninlined by 8144256
...
Add more const references so out-of-line methodHandle destructor and copy ctor called infrequently
Reviewed-by: hseigel, redestad
2017-07-27 18:06:41 -04:00
Thomas Stuefe
d12604111c
8181917: Refactor UL LogStreams to avoid using resource area
...
Reviewed-by: ehelin, mlarsson
2017-07-21 09:50:12 +02:00
Harold Seigel
9148262d0e
8077203: Avoid unnecessary stripping of package names from FQN's in is_same_class_package() methods
...
Extract package name from instance klass's package entry record
Reviewed-by: redestad, coleenp, lfoltan
2017-07-20 11:01:20 -04:00
Stefan Karlsson
a18f1c2d58
8183552: Move align functions to align.hpp
...
Reviewed-by: stuefe, pliden
2017-07-05 11:33:17 +02:00
Stefan Karlsson
dbd3b5a79e
8178499: Remove _ptr_ and _size_ infixes from align functions
...
Reviewed-by: rehn, tschatzl
2017-07-04 15:58:10 +02:00
Mikael Vidstedt
91920f154d
8181377: Capture underlying type for unsafe/unaligned pointers in ClassFileParser
...
Reviewed-by: dholmes, kbarrett
2017-06-01 09:34:53 -07:00
Mikael Vidstedt
f1f868513d
8180032: Unaligned pointer dereference in ClassFileParser
...
Reviewed-by: dholmes, hseigel
2017-05-26 13:47:33 -07:00
Thomas Schatzl
4c944bd1ca
8180755: Remove use of bitMap.inline.hpp include from instanceKlass.hpp and c1_ValueSet.hpp
...
Reviewed-by: ehelin, coleenp, dholmes
2017-05-26 13:46:49 +02:00
Harold Seigel
ca7bc471dd
8153646: Move vm/utilities/array.hpp to vm/oops
...
Move the header file and update the appropriate #include statements.
Reviewed-by: sspitsyn, dholmes
2017-05-10 08:37:17 -04:00
Rachel Protacio
eb6d311b66
8154791: Xlog classload too redundant msgs info/debug
...
Removed redundant information from class+load UL messages, ensured side-by-side printing of different levels for same class, cleaned up code
Reviewed-by: iklam, dholmes
2017-05-08 09:45:24 -04:00
Ioi Lam
c386cec7b1
8171392: Move Klass pointers outside of ConstantPool entries so ConstantPool can be read-only
...
Added _resolved_klasses; moved _resolved_references to ConstantPoolCache, etc.
Reviewed-by: coleenp, lfoltan, simonis, aph
2017-03-03 23:08:35 -08:00
Jesper Wilhelmsson
d507b8945c
Merge
2017-04-18 22:25:33 +02:00
Alan Bateman
a3ab143c64
8177530: Module system implementation refresh (4/2017)
...
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Reviewed-by: lfoltan, sspitsyn
2017-04-07 08:04:46 +00:00
Harold Seigel
3064b3e35d
8176147: JVM should throw CFE for duplicate Signature attributes
...
Add the needed checks to ClasFileParser for duplicate Signature attributes.
Reviewed-by: dholmes, gtriantafill
2017-03-08 09:04:21 -05:00
Harold Seigel
b7121021af
8175383: JVM should throw NCDFE if ACC_MODULE and CONSTANT_Module/Package are set
...
If bad constant is seen, save it to throw CFE if ACC_MODULE is not in access_flags
Reviewed-by: dholmes, acorn, lfoltan, gtriantafill
2017-03-06 09:45:58 -05:00
Harold Seigel
90bde9549e
8174725: JVM should throw NoClassDefFoundError if ACC_MODULE is set in access_flags
...
Check if ACC_MODULE is set, and if so, throw NoClassDefFoundError exception
Reviewed-by: dholmes, alanb, acorn, coleenp, lfoltan, gtriantafill
2017-02-21 09:53:49 -05:00
Jesper Wilhelmsson
0f62f198b2
Merge
2017-03-28 00:03:23 +02:00
Coleen Phillimore
4b9562288f
8155672: Remove instanceKlassHandles and KlassHandles
...
Use unhandled pointers for Klass and InstanceKlass, remove handles with no implementation.
Reviewed-by: dholmes, lfoltan, vlivanov, sspitsyn
2017-03-15 10:25:37 -04:00
Coleen Phillimore
35e8433c1c
Merge
2017-03-14 14:07:24 -04:00
Shafi Ahmad
90c3e97cbd
8171194: Exception "Duplicate field name&signature in class file" should report the name and signature of the field
...
Added code to emit name and signature of duplicate field in java.lang.ClassFormatError exception message
Reviewed-by: dholmes, coleenp
2017-02-28 20:32:06 -08:00
Bob Vandette
929fc23c45
Merge
2017-02-24 12:41:26 -05:00
Coleen Phillimore
0b3bc5c4f0
8169881: Remove implicit Handle conversions oop->Handle
...
Pass THREAD to Handle as argument instead of implicit Thread::current() call.
Reviewed-by: dholmes, sspitsyn
2017-02-15 22:59:57 -05:00
Harold Seigel
6e88661a89
8174092: Remove array-related access checks from Reflection::verify_class_access()
...
Change the parameter type to InstanceKlass* and fix the method's callers
Reviewed-by: acorn, coleenp, gtriantafill, lfoltan
2017-02-10 07:46:07 -05:00
Rachel Protacio
2ec4f5a76a
8159507
: RuntimeVisibleAnnotation validation
...
Reviewed-by: coleenp, hseigel, mschoene, acorn
2016-07-21 15:49:17 -04:00
Jesper Wilhelmsson
a6fc4ec215
Merge
2016-12-18 15:37:50 +01:00
Alan Bateman
6b87f1990b
Merge
2016-12-16 08:18:00 +00:00
Harold Seigel
94c51468b8
8170987: Module system implementation refresh (12/2016)
...
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Reviewed-by: lfoltan, coleenp, mchung
2016-12-16 05:46:52 +00:00
Bharadwaj Yadavalli
2841c5eb2b
8171008: Integrate AOT compiler into JDK
...
Co-authored-by: Christian Thalinger <cthalinger@twitter.com>
Co-authored-by: Dean Long <dean.long@oracle.com>
Co-authored-by: Dmitrij Pochepko <dmitrij.pochepko@oracle.com>
Co-authored-by: Dmitry Chuyko <dmitry.chuyko@oracle.com>
Co-authored-by: Doug Simon <doug.simon@oracle.com>
Co-authored-by: Eric Caspole <eric.caspole@oracle.com>
Co-authored-by: Igor Ignatyev <igor.ignatyev@oracle.com>
Co-authored-by: Igor Veresov <igor.veresov@oracle.com>
Co-authored-by: John Rose <john.r.rose@oracle.com>
Co-authored-by: Morris Meyer <morris.meyer@oracle.com>
Co-authored-by: Niclas Adlertz <niclas.adlertz@oracle.com>
Co-authored-by: Rickard Backman <rickard.backman@oracle.com>
Reviewed-by: erikj, mchung, psandoz, coleenp, iklam, stefank, simonis
2016-12-11 19:07:04 -08:00
Markus Grönlund
6a685f1d63
8170672: Event-based tracing to support classloader instances
...
Reviewed-by: hseigel, egahlin
2016-12-06 22:49:17 +01:00
Harold Seigel
ccbb28f6a0
8166304: Skipping access check for classes generated by core reflection
...
Only allow boot and reflection class loader to load sub-types of jdk.internal.reflect
Reviewed-by: acorn, lfoltan, rehn
2016-11-17 14:23:29 -05:00
Alejandro Murillo
af03100a51
Merge
2016-10-20 16:53:56 -07:00
Calvin Cheung
c5dc50c03f
8166931: Do not include classes which are unusable during run time in the classlist file
...
Added check to exclude classes found in the --patch-module list
Reviewed-by: jiangli, lfoltan, iklam
2016-10-18 16:15:03 -07:00
Rachel Protacio
53164dd532
8159503: Amend Annotation Actions
...
Reviewed-by: coleenp, hseigel, mschoene, acorn, ctornqvi
2016-07-01 15:11:38 -04:00
David Holmes
d1856645bc
8081800: AbstractMethodError when evaluating a private method in an interface via debugger
...
Reviewed-by: acorn, dcubed, coleenp
2016-10-03 21:48:21 -04:00
Harold Seigel
e8e6415b7a
8058575: IllegalAccessError trying to access package-private class from VM anonymous class
...
Put anonymous classes in unnamed package into host class's package. Throw exception if host class's package differs from anonymous class.
Reviewed-by: coleenp, acorn
2016-09-07 07:19:48 -04:00
Rachel Protacio
180c089047
Merge
2016-09-06 22:52:35 +02:00
Rachel Protacio
a8147854b7
8161224: CONSTANT_NameAndType_info permits references to illegal names and descriptors
...
Enforces proper format checking for NameAndType string content, and that the checking occurs even when not referenced in classfile
Reviewed-by: coleenp, hseigel, ddmitriev
2016-09-06 16:29:32 -04:00
Karen Kinnear
3b21f492f9
8163808: Fix asserts and logging for old classfile vtable construction
...
Reviewed-by: coleenp, lfoltan, rprotacio, ctornqvi
2016-08-19 11:32:43 -04:00
Karen Kinnear
9c928767ba
8162340: Better class stream parsing
...
Check platform and boot loader for java/* packages
Reviewed-by: lfoltan, coleenp, dholmes
2016-07-27 08:31:48 -04:00
Max Ockner
680e1a3a28
8157490: JCK test vm/jni/DefineClass/dfcl001/dfcl00101m1/dfcl00101m1 crashes when run with -Xlog:classload=info
...
Null stream->source() no longer causes error with -Xlog:class+load
Reviewed-by: lfoltan, coleenp
2016-06-13 13:47:21 -04:00
Coleen Phillimore
47309c3715
8158297: Lack of proper checking of non-well formed elements in CONSTANT_Utf8_info's structure
...
Disallow // in class file names during parsing and throw ClassNotFoundException
Reviewed-by: sspitsyn, rehn, gtriantafill
2016-06-07 15:34:22 -04:00
Vladimir Ivanov
3221da3cf7
Merge
2016-05-24 14:13:57 +03:00
Jiangli Zhou
d40a606f06
8149977: DumpLoadedClassList should not include generated classes
...
Exclude anonymous classes from the generated class list.
Reviewed-by: ccheung, iklam, hseigel
2016-05-17 17:42:16 -04:00
Paul Sandoz
1917be9572
8144826: [JVMCI] Remove jdk.vm.ci.hotspot.Stable and use jdk.internal.vm.annotation.Stable
...
Reviewed-by: twisti
2016-05-11 09:13:49 +02:00
Goetz Lindenmaier
1e4b00b1dc
8140594: Various minor code improvements (compiler)
...
Various minor code improvements (compiler)
Reviewed-by: thartmann, kvn
2016-05-03 12:23:06 +02:00
Stefan Karlsson
f8be292b88
8141501: Problems with BitMap buffer management
...
Reviewed-by: pliden, kbarrett
2016-05-03 22:45:27 +02:00
Max Ockner
da0fe9d476
8154110: Update class* and safepoint* logging subsystems
...
Refactored logging tags in class and safepoint subsystems.
Reviewed-by: coleenp, rehn, hseigel
2016-04-29 22:40:51 -04:00
Eric Caspole
dec22baf4d
8155685: Wrong indentation in ClassFileParser::post_process_parsed_stream
...
Fix indentation
Reviewed-by: dcubed
2016-04-29 10:04:24 -04:00