68 Commits

Author SHA1 Message Date
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
Coleen Phillimore
7557d78b35 8173070: Remove ValueObj class for allocation subclassing for runtime code
Reviewed-by: stefank, tschatzl, stuefe
2018-03-09 10:46:02 -05:00
Stefan Karlsson
133faf856d 8199264: Remove universe.inline.hpp to simplify include dependencies
Reviewed-by: coleenp, hseigel
2018-03-07 21:57:36 +01:00
Harold Seigel
c0bc887c36 8191102: Incorrect include file use in classLoader.hpp
Move appropriate methods to <fiile>.inline.hpp files.  Create <file>.inline.hpp files when needed.

Reviewed-by: coleenp, dholmes
2018-03-05 10:29:23 -05:00
Tobias Hartmann
23c15b8f4c 8148871: Possible wrong expression stack depth at deopt point
Add a special case for invoke bytecodes and use the parameter size instead of the oop map in that case.

Reviewed-by: never, dlong, minqi
2018-03-01 08:58:27 +01:00
Leonid Mesnik
45f751f518 8197455: There is some runthese related unused code in bytecodeInterpreter.cpp
Reviewed-by: iignatyev, dholmes
2018-02-08 21:53:06 -05:00
Jesper Wilhelmsson
44ab590f44 Merge 2018-02-05 23:12:03 +01:00
Andrew Haley
22c23d5081 8194739: Zero port of 8174962: Better interface invocations
Reviewed-by: adinn, coleenp
2018-01-22 15:19:02 +00:00