75 Commits

Author SHA1 Message Date
Claes Redestad
dbdfbb518f 8219229: Make ConstantPool::tag_at and release_tag_at_put inlineable
Reviewed-by: dholmes, coleenp
2019-02-20 09:53:28 +01:00
Lois Foltan
9631b06423 8217998: Remove method_type field associated with the appendix field of an indy or method handle call
Removed the unused method_type field associated with the appendix field of an indy or method handle call.

Reviewed-by: acorn, coleenp, dlong
2019-02-13 15:50:08 -05:00
Lois Foltan
29245f8878 8218004: Clean up terminology for shared methods within the JVM for indy and condy support
Remove "invoke_dynamic" from the name of several ConstantPool bootstrap helper methods that are shared by both indy and condy.

Reviewed-by: coleenp, dholmes, mchung
2019-02-13 14:20:40 -05:00
Ao Qi
a0de7b80c9 8218031: Zero broken after JDK-8217922 (Compiler dead code removal)
Reviewed-by: thartmann, sgehwolf, shade
2019-01-30 18:34:31 +01:00
Claes Redestad
d589fa875d 8217921: Runtime dead code removal
Reviewed-by: coleenp, sgehwolf, dholmes
2019-01-29 14:43:05 +01:00
Claes Redestad
6a9f775041 8217922: Compiler dead code removal
Reviewed-by: thartmann, neliasso
2019-01-29 14:34:26 +01:00
Goetz Lindenmaier
69e185b203 8217512: Message of LinkageError: use 'class' etc. instead of 'type'
Reviewed-by: dholmes, lfoltan
2019-01-23 08:25:22 +01:00
Coleen Phillimore
154a1a02bf 8216167: Update include guards to reflect correct directories
Use script and some manual fixup to fix directores names in include guards.

Reviewed-by: lfoltan, eosterlund, kbarrett
2019-01-10 15:13:51 -05:00
Claes Redestad
bd8f4a115c 8216262: Remove develop flag DelayCompilationDuringStartup
Reviewed-by: kvn, thartmann
2019-01-08 11:23:19 +01:00
Coleen Phillimore
1509c1ffe1 8215731: Move forward class definitions out of globalDefinitions.hpp
Redistribute the forward declarations to the header files that need them.

Reviewed-by: dholmes, lfoltan
2019-01-04 15:06:01 -05:00
Harold Seigel
89ea902f51 8215644: Clean up globalDefinitions_<compiler>.hpp
Remove non-existent classes from forward declarations, delete unused functions, etc.

Reviewed-by: coleenp, kbarrett
2019-01-03 13:11:35 -05:00
Jamsheed Mohammed C M
79d7ae7633 8211034: OnStackReplacePercentage option checking has bugs
Fixed the constraint checks

Reviewed-by: kvn
2018-12-12 23:08:01 -08:00
Coleen Phillimore
0be6d52f4d 8215034: Remove old HOTSWAP conditionals
Reviewed-by: dcubed, jiangli, sspitsyn
2018-12-07 17:20:44 -05:00
Calvin Cheung
4e935d302a 8214728: Unnecessary InstanceKlass::cast at few places
Reviewed-by: lfoltan, jiangli, coleenp
2018-12-04 11:54:09 -08:00
Harold Seigel
6c0cc8929b 8199226: Improve field accesses
Reviewed-by: acorn, ahgross, rhalade
2018-05-14 09:05:20 -04:00
Erik Österlund
0192c14c9b 8210498: nmethod entry barriers
Reviewed-by: kvn, pliden
2018-10-16 13:18:22 +02:00
David Holmes
8351e4db3e 8211065: Private method check in linkResolver is incorrect
Reviewed-by: acorn, lfoltan
2018-10-09 20:19:22 -04:00
Roman Kennke
fe3bd4703e 8211792: Fix misplaced BarrierSet forward declarations
Reviewed-by: shade, zgu
2018-10-05 23:45:02 +02:00
Magnus Ihse Bursie
8cc7ce2c18 6657100: Rename sparcWorks to solstudio in HotSpot
Reviewed-by: erikj, dcubed
2018-08-31 09:37:03 +02:00
Harold Seigel
d36066fdad 8210168: JCK test .vm.classfmt.ins.code__002.code__00201m1.code__00201m1 hangs with -noverify
Check for 'bc_length > 0' to handle lengths of -1.

Reviewed-by: coleenp
2018-08-30 09:08:23 -04:00
Ioi Lam
bc62b3a40e 8209647: constantPoolHandle::constantPoolHandle(ConstantPool*) when precompiled header is disabled
Added fieldDescriptor.inline.hpp

Reviewed-by: coleenp, shade
2018-08-20 13:58:23 -07:00
Lois Foltan
75ed173e15 8209301: JVM rename is_anonymous, host_klass to unsafe specific terminology ahead of Unsafe.defineAnonymousClass deprecation
Clean up VM anonymous class terminology.

Reviewed-by: coleenp, dholmes, mchung
2018-08-20 08:25:57 -04:00
Thomas Schatzl
9c0720b156 8208671: Runtime, JFR, Serviceability changes to allow enabling -Wreorder
Reviewed-by: dholmes, hseigel
2018-08-08 15:31:07 +02:00
Tom Rodriguez
5226a6a2bb 8207202: [Graal] compiler/graalunit/CoreTest.java fails
Reviewed-by: kvn
2018-07-19 12:55:24 -07:00
Lois Foltan
cc58241bec 8205611: Improve the wording of LinkageErrors to include module and class loader information
Clean up the wording of loader constraint violations to include the module and class loader information.

Reviewed-by: coleenp, goetz, hseigel
2018-07-16 11:34:17 -04:00
Ioi Lam
b5f0945a72 8204267: Generate comments in -XX:+PrintInterpreter to link to source code
Changed __ macro to use Disassembler::hook()

Reviewed-by: coleenp, aph
2018-06-03 23:33:00 -07:00
Mikael Vidstedt
6ffd168ad1 8207011: Remove uses of the register storage class specifier
Reviewed-by: kbarrett, kvn
2018-07-12 17:29:48 -07:00
Coleen Phillimore
6d497ee263 8202737: Obsolete AllowNonVirtualCalls option
Obsolete option and remove support.

Reviewed-by: dholmes, jiangli, kbarrett
2018-07-06 09:00:48 -04:00
Goetz Lindenmaier
cad47f4a03 8199940: Print more information about class loaders in IllegalAccessErrors
Reviewed-by: lfoltan, mchung
2018-06-27 09:52:23 +02:00
Lois Foltan
7ca4027957 8169559: Add class loader names to relevant VM messages
Added new method class_in_module_of_loader to provide a standard format for class information within error messages.

Reviewed-by: goetz, hseigel, mchung
2018-06-25 11:33:11 -04:00
Severin Gehwolf
1a1303e1a6 8203188: Add JEP-181 support to the Zero interpreter
Reviewed-by: dholmes, chrisphi
2018-06-05 11:55:39 +02:00
David Holmes
95bf19563b 8010319: Implementation of JEP 181: Nest-Based Access Control
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Maurizio Mimadamore <maurizio.mimadamore@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Tobias Hartmann <tobias.hartmann@oracle.com>
Co-authored-by: Vlaidmir Ivanov <vladimir.x.ivanov@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Vladimir Kozlov <vladimir.kozlov@oracle.com>
Co-authored-by: John Rose <john.r.rose@oracle.com>
Co-authored-by: Daniel Smith <daniel.smith@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: Kumar Srinivasan <kumardotsrinivasan@gmail.com>
Co-authored-by: Boris Ulasevich <boris.ulasevich@bell-sw.com>
Reviewed-by: alanb, psandoz, mchung, coleenp, acorn, mcimadamore, forax, jlahoda, sspitsyn, abuckley
2018-06-23 01:32:41 -04:00
Coleen Phillimore
892a2af03f 8204301: Make OrderAccess functions available to hpp rather than inline.hpp files
Move orderAccess.inline.hpp into orderAccess.hpp and remove os.hpp inclusion and conditional os::is_MP() for fence on x86 platforms

Reviewed-by: dholmes, hseigel
2018-06-06 10:45:40 -04:00
Harold Seigel
d892ac8d4c 8202913: loader constraint message for fields specifies incorrect referring class
Improve the message to display the right referring class.

Reviewed-by: acorn, goetz, dholmes
2018-05-31 10:38:06 -04:00
Coleen Phillimore
89251ae9a3 8204087: C++ Interpreter code left over in MethodData
Remove unused code

Reviewed-by: kvn, lfoltan, thartmann
2018-05-31 09:19:54 -04:00
Goetz Lindenmaier
ac3043c692 8201593: Print array length in ArrayIndexOutOfBoundsException
Reviewed-by: dholmes, mdoerr, smonteith, shade, rriggs
2018-05-07 09:11:21 +02:00
Goetz Lindenmaier
72a2ac8b8b 8199852: Print more information about class loaders in LinkageErrors
Reviewed-by: dholmes, lfoltan, gtriantafill
2018-05-07 11:38:21 +02:00
Per Lidén
ec504ecf84 8201362: Remove CollectedHeap::barrier_set()
Reviewed-by: shade, rkennke
2018-04-12 11:22:24 +02:00
Robin Westberg
2dfa53af63 8199736: Define WIN32_LEAN_AND_MEAN before including windows.h
Reviewed-by: erikj, ihse, kbarrett, dholmes
2018-04-09 10:09:38 +02:00
Roman Kennke
389d720746 8199735: Mark word updates need to use Access API
Reviewed-by: shade, eosterlund
2018-04-05 10:54:53 +02:00
Roman Kennke
b938ae51ce 8199781: Don't use naked == for comparing oops
Reviewed-by: coleenp, eosterlund, jrose
2018-04-03 13:15:27 +02:00
Coleen Phillimore
b541d9ad77 8200276: Cleanup allocation.hpp includes
Reviewed-by: stefank, hseigel
2018-03-27 11:53:23 -04:00
Ed Nevill
1ab18f7d36 8200197: Zero fails to build after 8200105
Reviewed-by: coleenp
2018-03-23 23:57:48 +00:00
Stefan Karlsson
1a1aecd166 8200106: Move NoSafepointVerifier out from gcLocker.hpp
Reviewed-by: coleenp
2018-03-23 18:54:12 +01:00
Stefan Karlsson
7595845e9a 8200105: Remove cyclic dependency between oop.inline.hpp and collectedHeap.inline.hpp
Reviewed-by: coleenp, kbarrett
2018-03-15 21:29:36 +01:00
Coleen Phillimore
221d0f4c54 8199809: Don't include frame.inline.hpp and other.inline.hpp from .hpp files
Remove frame.inline.hpp,etc from header files and adjust transitive includes.

Reviewed-by: stefank, stuefe
2018-03-21 19:45:24 -04:00
Coleen Phillimore
fde89a34d0 8199263: Split interfaceSupport.hpp to not require including .inline.hpp files
InterfaceSupport.hpp is an inline file so moved to interfaceSupport.inline.hpp and stopped including it in .hpp files

Reviewed-by: stefank, rehn, kvn
2018-03-16 09:12:13 -04:00
Ed Nevill
828e824a0f 8199220: Zero build broken after 8195103, 8191102 and 8189871
Reviewed-by: dholmes, stuefe, eosterlund, glaubitz, coleenp
2018-03-13 18:22:53 +00:00
Calvin Cheung
214248fe11 8196626: [Graal] runtime/appcds/UseAppCDS.java crashes with "VM thread using lock Heap_lock (not allowed to block on)"
Print a message and abort CDS dumping when the allocation of metaspace has failed

Reviewed-by: iklam, mseledtsov
2018-03-09 13:36:39 -08:00
Goetz Lindenmaier
507c62fc76 8197405: Improve messages of AbstractMethodErrors and IncompatibleClassChangeErrors
Reviewed-by: coleenp, dholmes, mdoerr, njian
2018-02-08 09:23:49 +01:00