Stefan Karlsson
551e656218
8374113: Taughtological if check in Reflection::array_set
...
Reviewed-by: fparain, liach
2025-12-22 09:55:38 +00:00
Paul Hübner
0f34b0203a
8365896: Remove unnecessary explicit buffer nul-termination after using os::snprintf
...
Reviewed-by: dholmes, coleenp
2025-10-29 12:57:06 +00:00
Ioi Lam
2425584849
8367142: Avoid InstanceKlass::cast when converting java mirror to InstanceKlass
...
Reviewed-by: dholmes, coleenp
2025-09-16 01:04:48 +00:00
Ioi Lam
66836d40b8
8361292: Rename ModuleEntry::module() to module_oop()
...
Reviewed-by: coleenp, ccheung, sspitsyn
2025-07-03 16:52:19 +00:00
Coleen Phillimore
eb256deb80
8358326: Use oopFactory array allocation
...
Reviewed-by: fparain, stefank
2025-06-09 18:33:00 +00:00
Stefan Karlsson
c33c1cfe73
8347909: Automatic precompiled.hpp inclusion
...
Reviewed-by: lkorinth, erikj, dholmes, ihse
2025-01-21 10:21:24 +00:00
Coleen Phillimore
baca7daa32
8347733: Replace SIZE_FORMAT in runtime code
...
Reviewed-by: matsaave, sspitsyn, dholmes
2025-01-17 16:24:47 +00:00
Coleen Phillimore
6ee2bd2f33
8347147: [REDO] AccessFlags can be u2 in metadata
...
Co-authored-by: Amit Kumar <amitkumar@openjdk.org>
Reviewed-by: vlivanov, yzheng
2025-01-08 19:48:25 +00:00
David Holmes
021c476409
8347148: [BACKOUT] AccessFlags can be u2 in metadata
...
Reviewed-by: coleenp
2025-01-08 00:37:27 +00:00
Coleen Phillimore
098afc8b7d
8339113: AccessFlags can be u2 in metadata
...
Co-authored-by: Amit Kumar <amitkumar@openjdk.org>
Reviewed-by: sspitsyn, vlivanov, yzheng, dlong, dholmes
2025-01-07 22:03:38 +00:00
David Holmes
8de158aefe
8339134: Callers of Exceptions::fthrow should ensure exception message lengths avoid the INT_MAX limits of os::vsnprintf
...
Reviewed-by: coleenp, jsjolen
2024-11-25 19:55:26 +00:00
Mandy Chung
d6eddcdaf9
8327624: Remove VM implementation that bypass verification for core reflection
...
Reviewed-by: liach, dholmes, jrose, alanb, mli
2024-10-22 18:14:37 +00:00
Aleksey Shipilev
376056ca48
8336468: Reflection and MethodHandles should use more precise initializer checks
...
Reviewed-by: liach, coleenp
2024-09-26 15:14:21 +00:00
Kim Barrett
965508270e
8338330: Fix -Wzero-as-null-pointer-constant warnings from THROW_XXX_0
...
Reviewed-by: dlong, dholmes, shade
2024-08-15 17:43:09 +00:00
Kim Barrett
7146daee68
8337783: Use THROW_NULL instead of THROW_0 in pointer contexts in misc runtime code
...
Reviewed-by: stefank, shade
2024-08-05 20:05:07 +00:00
Stefan Karlsson
71d48bcc3d
8329655: Cleanup KlassObj and klassOop names after the PermGen removal
...
Reviewed-by: rkennke, coleenp
2024-04-05 07:39:48 +00:00
Calvin Cheung
221fbfb436
8320002: Remove obsolete CDS check in Reflection::verify_class_access()
...
Reviewed-by: iklam, matsaave, dholmes
2024-02-20 21:10:09 +00:00
Alex Menkov
fd3042a04b
8318566: Heap walking functions should not use FilteredFieldStream
...
Reviewed-by: cjplummer, sspitsyn
2024-02-05 21:55:13 +00:00
Ioi Lam
0712b22a3a
8320147: Remove DumpSharedSpaces
...
Reviewed-by: ccheung, matsaave
2023-11-20 17:09:55 +00:00
Mandy Chung
9bfe415f66
8305104: Remove the old core reflection implementation
...
Reviewed-by: dholmes, alanb
2023-06-13 19:41:38 +00:00
Johan Sjölen
71107f4648
8300651: Replace NULL with nullptr in share/runtime/
...
Reviewed-by: rehn, dholmes
2023-01-25 10:30:02 +00:00
Stefan Karlsson
813b223a6b
8296926: Sort include lines of files in the include/ directory
...
Reviewed-by: kbarrett, erikj, lkorinth
2022-11-16 12:51:26 +00:00
Stefan Karlsson
98ce45ff74
8292981: Unify and restructure integer printing format specifiers
...
Reviewed-by: kbarrett, dholmes
2022-09-02 06:52:35 +00:00
Coleen Phillimore
270cf67e5f
8288752: Split thread implementation files
...
Reviewed-by: dholmes, rehn, iklam
2022-06-22 12:49:25 +00:00
Claes Redestad
a385142398
8177107: Reduce memory footprint of java.lang.reflect.Constructor/Method
...
Reviewed-by: darcy, shade, coleenp
2022-04-06 14:26:58 +00:00
Maurizio Cimadamore
a223189b06
8264774: Implementation of Foreign Function and Memory API (Incubator)
...
Co-authored-by: Paul Sandoz <psandoz@openjdk.org>
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Co-authored-by: Vladimir Ivanov <vlivanov@openjdk.org>
Co-authored-by: Athijegannathan Sundararajan <sundar@openjdk.org>
Co-authored-by: Chris Hegarty <chegar@openjdk.org>
Reviewed-by: psandoz, chegar, mchung, vlivanov
2021-06-02 10:53:06 +00:00
David Holmes
02f895c5f6
8252685: APIs that require JavaThread should take JavaThread arguments
...
Reviewed-by: coleenp, sspitsyn, kvn, iklam
2021-05-17 04:05:44 +00:00
Harold Seigel
e14b026841
8243287: Removal of Unsafe::defineAnonymousClass
...
Reviewed-by: iklam, mchung, alanb, dholmes
2021-05-13 12:46:54 +00:00
Harold Seigel
af13c64f68
8264711: More runtime TRAPS cleanups
...
Reviewed-by: lfoltan, pchilanomate, dholmes, dcubed
2021-04-08 12:13:19 +00:00
Ioi Lam
17202c89d5
8264748: Do not include arguments.hpp from compilerDefinitions.hpp
...
Reviewed-by: gziemski, stefank
2021-04-07 05:37:37 +00:00
Stefan Karlsson
a79f095697
8263721: Unify oop casting
...
Reviewed-by: kbarrett, coleenp
2021-03-24 10:28:38 +00:00
Ioi Lam
82028e70d1
8260012: Reduce inclusion of collectedHeap.hpp and heapInspection.hpp
...
Reviewed-by: stefank, tschatzl
2021-02-04 04:05:33 +00:00
Ioi Lam
ffbcf1b0a7
8260471: Change SystemDictionary::X_klass calls to vmClasses::X_klass
...
Reviewed-by: lfoltan, hseigel, dholmes, stuefe
2021-02-02 23:40:29 +00:00
Ioi Lam
02a0a027f4
8257563: Remove excessive include of klass.inline.hpp
...
Reviewed-by: dholmes, stuefe, stefank
2020-12-03 01:34:04 +00:00
David Holmes
976acddeb5
8252406: Introduce Thread::as_Java_thread() convenience function
...
Reviewed-by: shade, coleenp, kbarrett, dcubed
2020-09-11 01:31:32 +00:00
Coleen Phillimore
2d8e74ddea
8249768: Move static oops and NullPointerException oops from Universe into OopStorage
...
Make NPE oops an objArrayOop.
Reviewed-by: dholmes, eosterlund
2020-07-22 10:32:44 -04:00
Mandy Chung
f2b191a6e9
8247444: Trust final fields in records
...
Co-authored-by: Christoph Dreis <christoph.dreis@freenet.de>
Reviewed-by: jrose, dholmes, forax, coleenp, vlivanov
2020-06-19 08:27:59 -07:00
Mandy Chung
7cc1371059
8238358: Implementation of JEP 371: Hidden Classes
...
Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Co-authored-by: David Holmes <david.holmes@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Jamsheed Mohammed C M <jamsheed.c.m@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Co-authored-by: Amy Lu <amy.lu@oracle.com>
Reviewed-by: alanb, cjplummer, coleenp, dholmes, dlong, forax, jlahoda, psandoz, plevart, sspitsyn, vromero
2020-04-21 06:55:38 -07:00
Lois Foltan
c280d98e80
8237766: Enhance signature API to include ResolvingSignatureStream
...
New ResolvingSignatureStream class provides the capability to easily walk through the differing parts of a signature while resolving or querying its underlying types.
Co-authored-by: John Rose <john.r.rose@oracle.com>
Reviewed-by: coleenp, fparain, hseigel
2020-03-02 18:42:22 +00:00
Lois Foltan
d19a396e96
8230199: consolidate signature parsing code in HotSpot sources
...
Add a new Signature class to support basic signature queries and enhance SignatureStream class to parse field signatures in addition to methods.
Co-authored-by: John Rose <john.r.rose@oracle.com>
Reviewed-by: coleenp, dholmes, fparain, hseigel
2020-02-06 14:29:57 +00:00
Stefan Karlsson
46423b0f70
8237637: Remove dubious type conversions from oop
...
Reviewed-by: kbarrett, dholmes, mdoerr
2020-01-24 09:27:07 +01:00
Coleen Phillimore
ed21b56269
8233913: Remove implicit conversion from Method* to methodHandle
...
Fix call sites to use existing THREAD local or pass down THREAD local for shallower callsites. Make linkResolver methods return Method* for caller to handleize if needed.
Reviewed-by: iklam, thartmann, hseigel
2019-11-13 08:23:23 -05:00
Lois Foltan
0c507f3180
8230505: Replace JVM type comparisons to T_OBJECT and T_ARRAY with call to is_reference_type
...
Consistently use is_reference_type when comparing type for T_OBJECT or T_ARRAY.
Co-authored-by: John Rose <john.r.rose@oracle.com>
Reviewed-by: dlong, coleenp, hseigel
2019-09-23 14:49:04 -04:00
Coleen Phillimore
204059634d
8223657: Remove unused THREAD argument from SymbolTable functions
...
Also made lookup and lookup_only functions private to SymbolTable. External callers use new_symbol or probe.
Reviewed-by: dholmes, gziemski
2019-05-14 11:29:18 -04:00
Goetz Lindenmaier
39f3368ffd
8221470: Print methods in exception messages in java-like Syntax
...
Reviewed-by: dholmes, mdoerr, coleenp
2019-04-04 09:39:44 +02:00
Aleksey Shipilev
9cc4f7d99b
8218140: Build failures after JDK-8218041 (Assorted wrong/missing includes)
...
Reviewed-by: stefank, rehn, dholmes
2019-01-31 19:08:37 +01:00
Claes Redestad
bf63ee682e
8216157: Enable inlining of java_lang_Class::is_primitive
...
Reviewed-by: coleenp, eosterlund, jiangli
2019-01-04 16:23:56 +01:00
Harold Seigel
145582dfa1
8214807: Improve handling of very old class files
...
Remove old version specific code in reflection.cpp
Reviewed-by: acorn, dholmes
2018-12-06 09:58:26 -05:00
Coleen Phillimore
932d2c6ba6
8212774: Remove dead code touching Klass::_lower_dimension
...
Found dead code removal while looking at usage of Compile_lock. This dead code doesn't have Compile_lock but other code touching Klass::_{upper,lower}_dimension do.
Reviewed-by: shade
2018-10-22 15:32:50 -04:00
Ioi Lam
4abb6861ec
8212642: Remove SystemDictionary::InitOption enum
...
Reviewed-by: dholmes, kvn, redestad
2018-10-18 23:05:01 -07:00