Jesper Wilhelmsson
efd1054686
8182299: Enable disabled clang warnings, build on OSX 10 + Xcode 8
...
8182656: Make the required changes in GC code to build on OSX 10 + Xcode 8
8182657: Make the required changes in Runtime code to build on OSX 10 + Xcode 8
8182658: Make the required changes in Compiler code to build on OSX 10 + Xcode 8
Co-authored-by: Paul Hohensee <hohensee@amazon.com>
Reviewed-by: jwilhelm, ehelin, phh
2017-07-06 01:50:26 +02: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
Coleen Phillimore
7225e6008d
8182848: Some functions misplaced in debug.hpp
...
Moved to vmError.hpp,cpp where they seemed more appropriate
Reviewed-by: stefank, stuefe
2017-06-28 19:12:58 -04:00
Ioi Lam
9d5b85daf4
8178350: klassVtable and klassItable should be ValueObj
...
Reviewed-by: coleenp
2017-04-13 01:56:01 -07: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
Ioi Lam
f5777dc9bd
8005165: Remove CPU-dependent code in self-patching vtables
...
Reviewed-by: coleenp, stuefe, jiangli
2017-03-03 23:08:35 -08:00
Lana Steuck
e02360463a
Merge
2017-02-09 18:15:37 +00:00
David Holmes
fe4d1bb602
8173421: Obsolete and expired flags for JDK 10 need to be removed and related tests updated
...
Reviewed-by: lfoltan, mikael, dcubed
2017-01-31 19:26:50 -05:00
Markus Grönlund
2bc33c2996
8171960: Event-based tracing needs separate flag representation for Method
...
Reviewed-by: hseigel, gtriantafill, dholmes
2017-01-17 16:18:03 +01:00
Ioi Lam
7624f76c84
8169867: Method::restore_unshareable_info does not invoke Method::link_method
...
Reviewed-by: jiangli, kvn, thartmann
2016-11-27 19:58:30 -08:00
Coleen Phillimore
04bc07be95
8164921: Memory leaked when instrumentation.retransformClasses() is called repeatedly
...
Return Metablocks smaller than dictionary's dark matter.
Co-authored-by: Jon Masamitsu <jon.masamitsu@oracle.com>
Reviewed-by: mgerdin, sspitsyn, dsamersoff
2016-10-18 08:39:43 -04:00
Tobias Hartmann
4bb6761600
8153134: Infinite loop in handle_wrong_method in jmod
...
Use Patching_lock to synchronize access between set_code() and clear_code().
Reviewed-by: kvn, dlong
2016-10-18 09:43:12 +02: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
Kim Barrett
66706edf15
8156500: Move Reference pending list into VM to prevent deadlocks
...
Move reference pending list and locking into VM
Co-authored-by: Per Liden <per.liden@oracle.com>
Reviewed-by: coleenp, dholmes, dcubed, mchung, plevart
2016-08-30 23:48:16 -04:00
Tobias Hartmann
be08874935
8164091: VM fails during startup with "assert(resolved_method->method_holder()->is_linked()) failed: must be linked"
...
Don't throw java_lang_VirtualMachineError during VM initialization.
Reviewed-by: zmajo, dlong, dholmes
2016-08-17 08:19:06 +02:00
Jiangli Zhou
bd07a43e61
8153312: Constrain AppCDS behavior
...
Reviewed-by: iklam, acorn, mschoene
2016-04-20 16:39:37 -04:00
Zoltan Majo
cdc436922a
8157181: Compilers accept modification of final fields outside initializer methods
...
Track initialized final field updates; disable constant folding if an update is detected. Enforce final field update rules introduced by JVMS-7 (but only for JDK 9).
Reviewed-by: vlivanov, dnsimon, forax, never, kvn, coleenp
2016-06-15 14:27:58 +02:00
Vladimir Ivanov
72747f47fd
Merge
2016-04-29 02:13:40 +03:00
Rickard Bäckman
b853eb7f5c
8151956: Support non-continuous CodeBlobs in HotSpot
...
Reviewed-by: iveresov, thartmann, simonis
2016-04-26 10:28:51 +02:00
Alejandro Murillo
f9426642c6
Merge
2016-04-22 01:04:00 -07:00
Chris Plummer
7cd3700010
8148195: Some InstanceKlass and MethodCounters fields can be excluded when JVMTI is not supported
...
Removed "previous version", "cached class file", and breakpoint related fields and code when JVMTI is not supported
Reviewed-by: coleenp, sspitsyn
2016-04-21 20:49:11 -07:00
Calvin Cheung
28edd79d64
8145221: Use trampolines for i2i and i2c entries in Methods that are stored in CDS archive
...
This optimization reduces the size of the RW region of the CDS archive. It also reduces the amount of pages in the RW region that are actually written into during runtime.
Co-authored-by: Ioi Lam <ioi.lam@oracle.com>
Co-authored-by: Goetz Lindenmaier <goetz.lindenmaier@sap.com>
Reviewed-by: dlong, iklam, jiangli
2016-04-07 22:03:04 -07:00
Daniel D. Daugherty
4397e85e26
Merge
2016-04-07 09:47:48 -07:00
Joseph Provino
5cef85023b
8132524: Missing includes to resourceArea.hpp
...
Files that use ResourceMark are missing the include of resourceArea.hpp
Reviewed-by: tschatzl, jwilhelm
2016-04-04 12:57:48 -04:00
Zoltan Majo
720f99dec9
Merge
2016-03-24 16:21:18 +01:00
Paul Sandoz
ab69113c5e
8149644: Integrate VarHandles
...
Reviewed-by: kvn, vlivanov
2016-03-24 11:21:49 +01:00
Jesper Wilhelmsson
b7ca1e57ee
Merge
2016-03-23 23:36:29 +01:00
Chris Hegarty
5af2dcd643
Merge
2016-03-22 10:43:58 +00:00
Alan Bateman
f30fc1c88b
8142968: Module System implementation
...
Initial integration of JEP 200, JEP 260, JEP 261, and JEP 282
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Co-authored-by: Calvin Cheung <calvin.cheung@oracle.com>
Co-authored-by: Christian Tornqvist <christian.tornqvist@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: George Triantafillou <george.triantafillou@oracle.com>
Co-authored-by: Igor Ignatyev <igor.ignatyev@oracle.com>
Co-authored-by: Ioi Lam <ioi.lam@oracle.com>
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Jean-Francois Denise <jean-francois.denise@oracle.com>
Co-authored-by: Jiangli Zhou <jiangli.zhou@oracle.com>
Co-authored-by: Markus Gronlund <markus.gronlund@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: Staffan Larsen <staffan.larsen@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: acorn, ccheung, coleenp, ctornqvi, dholmes, dsimms, gtriantafill, iklam, jiangli, mgronlun, mseledtsov, cjplummer, sspitsyn, stefank, twisti, hseigel, lfoltan, alanb, mchung, dfazunen
2016-03-17 19:04:01 +00:00
Jesper Wilhelmsson
132e217524
Merge
2016-03-19 01:23:46 +01:00
Per Lidén
da5ca5c5d5
8151601: Cleanup locking of the Reference pending list
...
Reviewed-by: brutisso, stefank
2016-03-17 08:07:53 +01:00
Mikael Vidstedt
c40e7bc21f
8149159: Clean up Unsafe
...
Reviewed-by: jrose, kvn, stsmirno, chegar, aph, psandoz, redestad, twisti
2016-03-03 09:33:30 -08:00
Tobias Hartmann
2c4627b399
8151130: [BACKOUT] Remove Method::_method_data for C1
...
Backing out the fix for JDK-8147978 because it fails and blocks integration.
Reviewed-by: vlivanov, zmajo
2016-03-03 13:18:53 +01:00
Chris Plummer
6d7d3228e7
8147978: Remove Method::_method_data for C1
...
Method::_method_data field removed when not using C2 or JVMCI
Reviewed-by: dholmes, kvn
2016-02-26 09:13:22 -08:00
Coleen Phillimore
46cb32012a
8146518: Zero interpreter broken with better byte behaviours
...
Replaced Method::_result_type_index with Method::_result_type for better byte behaviours should be used for Zero also.
Reviewed-by: roland, kvn, bdelsart, kevinw
2016-01-07 13:59:49 -05:00
Coleen Phillimore
546bba34d7
8149038: SIGSEGV at frame::is_interpreted_frame_valid -> StubRoutines::SafeFetchN
...
Backout change for 8146984 but add an alignment check which may have caught original bug.
Reviewed-by: mgronlun, dcubed
2016-02-04 18:25:02 -05:00
Coleen Phillimore
d98409eadb
8146984: SIGBUS: bool Method::has_method_vptr(const void*)+0xc
...
Add address check and use SafeFetchN for Method* vptr access when Method* may be bad pointer.
Reviewed-by: dcubed, mgronlun
2016-02-03 17:26:36 +00:00
Jesper Wilhelmsson
40c4fe8573
Merge
2016-02-03 01:35:25 +01:00
Tobias Hartmann
832443d3b0
Merge
2016-01-28 09:49:17 +01:00
Coleen Phillimore
f8800caf4f
Merge
2016-01-14 16:26:38 -05:00
David Lindholm
ad0c208a5a
8146690: Make all classes in GC follow the naming convention
...
Reviewed-by: dholmes, stefank
2016-01-14 13:26:19 +01:00
Rachel Protacio
6dac872d4d
8141564: Convert TraceItables and PrintVtables to Unified Logging
...
The former -XX:+TraceItables and +PrintVtables flags have been converted to UL options -Xlog:itables=trace and vtables=trace
Reviewed-by: acorn, coleenp, dholmes
2016-01-07 13:53:20 -05:00
Goetz Lindenmaier
b26df6b69f
8146401: Clean up oop.hpp: add inline directives and fix header files
...
Reviewed-by: coleenp
2016-01-04 15:41:05 +01:00
Vladimir Ivanov
7adcd9a503
8140659: C1: invokedynamic call patching violates JVMS-6.5.invokedynamic
...
Reviewed-by: roland
2015-12-18 20:23:27 +03:00
Markus Grönlund
2ad9d3192f
8140485: Class load and creation cleanup
...
Reviewed-by: hseigel, coleenp, sspitsyn
2015-12-08 20:04:03 +01:00
Coleen Phillimore
97e169ac77
8145628: hotspot metadata classes shouldn't use HeapWordSize or heap related macros like align_object_size
...
Use align_metadata_size, align_metadata_offset and is_metadata_aligned for metadata rather than align_object_size, etc. Use wordSize rather than HeapWordSize for metadata. Use align_ptr_up rather than align_pointer_up (all the related functions are ptr).
Reviewed-by: hseigel, jmasa, cjplummer
2016-01-30 11:02:29 -05:00
Coleen Phillimore
200784d505
8132051: Better byte behavior
...
Co-authored-by: Roland Westerlin <roland.westerlin@oracle.com>
Co-authored-by: Vladimir Kozlov <vladimir.kozlov@oracle.com>
Co-authored-by: John Rose <john.r.rose@oracle.com>
Reviewed-by: bdelsart, roland, kvn, jrose, ahgross
2015-10-13 18:13:34 -04:00
Nils Eliasson
2f9e32256d
Merge
2015-11-13 13:31:48 +01:00
Aleksey Shipilev
ac09d8a135
8140650: Method::is_accessor should cover getters and setters for all types
...
Reviewed-by: vlivanov, coleenp, sgehwolf
2015-11-11 01:27:36 +03:00