Kim Barrett
9ea43a9213
8253148: Fix terminology in align_down comment
...
Change lognot => logical_not in comment
Reviewed-by: shade
2020-09-15 07:07:58 +00:00
Kim Barrett
af8c678038
8247910: Improve alignment and power-of-2 utilities using C++14
...
8238956: Replace powerOfTwo::max_value with std::numeric_limits
Reviewed-by: tschatzl, stefank
2020-09-15 04:34:49 +00:00
Ioi Lam
5144190ea0
8243208: Clean up JVMFlag implementation
...
Reviewed-by: dholmes, coleenp, gziemski
2020-09-11 04:05:18 +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
Ioi Lam
001e51d965
8250563: Add KVHashtable::add_if_absent
...
Reviewed-by: ccheung, coleenp
2020-09-08 18:27:59 +00:00
Albert Mingkun Yang
76002747d5
8252859: Inconsistent use of alpha in class AbsSeq
...
Reviewed-by: tschatzl, sjohanss
2020-09-08 11:17:09 +00:00
Albert Mingkun Yang
f01e6261a2
8252093: formula used to calculate decaying variance in numberSeq
...
Reviewed-by: sjohanss, kbarrett
2020-09-02 12:40:16 +02:00
Ioi Lam
5ca47be633
8252481: Remove excessive include of memTracker.hpp
...
Reviewed-by: lfoltan, ccheung
2020-09-01 08:29:15 -07:00
Aleksei Voitylov
b957d802e6
8252250: isnanf is obsolete
...
Reviewed-by: dcubed, mikael
2020-08-31 09:28:32 +03:00
Kim Barrett
52117c6f62
8251850: Refactor ResourceMark and DeoptResourceMark for better code sharing
...
Move saved state to ResourceArea, merge most of marks into shared helper.
Reviewed-by: stuefe, iklam, tschatzl, xliu, vlivanov
2020-08-25 22:17:04 -04:00
Patricio Chilano Mateo
e56002c7d3
8242263: Diagnose synchronization on primitive wrappers
...
Added diagnostic flag DiagnoseSyncOnPrimitiveWrappers
Reviewed-by: dholmes, mdoerr, dcubed, coleenp, egahlin, mgronlun
2020-08-21 15:04:02 +00:00
Martin Doerr
f1a5cbb11e
8251846: Replace __linux which is no longer defined
...
Reviewed-by: dholmes, goetz
2020-08-17 10:40:46 +02:00
Ioi Lam
77522d1270
8251559: Remove empty file utilities/sizes.cpp
...
Reviewed-by: ccheung, dholmes
2020-08-15 18:13:49 -07:00
Ioi Lam
35e3226df8
8250990: Consolidate object copying code for CDS static/dynamic archive dumping
...
Reviewed-by: coleenp, ccheung
2020-08-13 18:40:51 -07:00
Kim Barrett
e648a907b3
8250597: G1: Improve inlining around trim_queue
...
Refactor, using NOINLINE and (new) ATTRIBUTE_FLATTEN for control.
Reviewed-by: tschatzl, sjohanss
2020-08-13 10:02:35 -04:00
Kim Barrett
b35a3bdee9
8251322: Improve BitMap::iterate
...
Rewrite and inline BitMap::iterate.
Reviewed-by: stuefe, dholmes, tschatzl
2020-08-10 10:54:56 -04:00
Coleen Phillimore
9798a0846b
8249837: Avoid direct or implicit Thread::current() calls when we already have a current thread variable
...
Add current thread OR remove unneeded HandleMark
Reviewed-by: kvn, dholmes
2020-07-30 10:41:31 -04:00
Kim Barrett
8b005fa74e
8249945: Improve ARRAY_SIZE()
...
Make ARRAY_SIZE type-safe.
Reviewed-by: tschatzl, lfoltan, dholmes
2020-07-24 05:07:37 -04:00
Patric Hedlin
195c45a0e1
8245226: Clean-up FlagSetting and remove misuse
...
Reviewed-by: neliasso, dholmes
2020-02-24 14:06:01 +01:00
Patric Hedlin
485194c1a7
8245021: Adding method 'remove_if_existing' to growableArray
...
Reviewed-by: thartmann, neliasso
2020-04-21 10:35:53 +02:00
Kim Barrett
a338213bb4
8248545: Remove unneeded warning suppression of MSVC++ 4521/4522
...
Reviewed-by: tschatzl, ihse
2020-06-30 12:41:27 -04:00
Magnus Ihse Bursie
2de3595895
8248548: Use DISABLED_WARNINGS for globally disabled warnings on Visual Studio in Hotspot
...
Reviewed-by: kbarrett, erikj
2020-06-30 16:26:24 +02:00
Kim Barrett
9ffba3002a
8247747: Remove macro definition of "inline" in stack.hpp
...
Removed "inline" macro and some microoptimizations.
Reviewed-by: lfoltan, tschatzl
2020-06-26 05:26:19 -04:00
Coleen Phillimore
1550fd889b
8239782: CC_INTERP is only used by Zero interpreter
...
Change CC_INTERP conditional to ZERO and remove in places where unnecessary. Fix build to exclude compilers and rename CppInterpreter to ZeroInterpreter. The "C++ Interpreter" has been removed from the code a while ago.
Reviewed-by: dholmes, ihse
2020-06-24 09:56:20 -04:00
Stefan Karlsson
ef3b0ec567
8247755: Leaner and more versatile GrowableArray classes
...
Reviewed-by: kbarrett, coleenp
2020-06-24 13:16:52 +02:00
Stefan Karlsson
156f6174ed
8248132: ZGC: Unify handling of all OopStorage instances in root processing
...
Reviewed-by: pliden, kbarrett, tschatzl
2020-06-24 13:15:00 +02:00
Xin Liu
4076ca82d2
8151779: Some intrinsic flags could be replaced with one general flag
...
Add ControlIntrinsic switch
Reviewed-by: neliasso, phh
2020-06-23 10:40:26 -07:00
Stefan Karlsson
17f2250c5a
8247879: Rework WeakHandle and OopHandle to dynamically support different OopStorages
...
Reviewed-by: coleenp, eosterlund
2020-06-23 09:38:21 +02:00
Stefan Karlsson
77bdc30650
8247470: Fix CHeap GrowableArray NMT accounting
...
Reviewed-by: coleenp, tschatzl, kbarrett
2020-06-16 09:37:53 +02:00
Stefan Karlsson
8e865fc569
8246926: Clean up newlines and whitespaces in hs_err files
...
Reviewed-by: dholmes, eosterlund, iklam
2020-06-10 08:58:43 +02:00
Erik Österlund
9a8ace2c0a
8246837: Rename WeakHandle<vm_class_loader_data> to better reflect its OopStorage association
...
Reviewed-by: coleenp
2020-06-09 16:09:55 +00:00
Stefan Karlsson
b5678a43cc
8246258: Enable hs_err heap printing earlier during initialization
...
Reviewed-by: stuefe, sjohanss
2020-06-02 09:57:35 +02:00
Stefan Karlsson
5fc89b6e72
8246135: Save important GC log lines and print them when dumping hs_err files
...
Reviewed-by: sjohanss, pliden, eosterlund
2020-06-03 14:30:56 +02:00
Gerard Ziemski
8752e02e66
8245833: crash_with_sigfpe uses pthread_kill(SIGFPE) on macOS
...
Changed division code to ensure that real crash happens
Reviewed-by: dholmes
2020-06-02 13:15:13 -05:00
Gerard Ziemski
5f67125ba6
8245509: Crash handler itself crashes when reporting Unsafe.putInt(0) crash
...
Added ResourceMarker
Reviewed-by: coleenp, dholmes
2020-06-02 13:12:50 -05:00
Ioi Lam
ccb6d0e572
8234628: Change BasicHashTables::new_entry() to use clamp()
...
Reviewed-by: dcubed
2020-06-02 09:29:10 -07:00
Kim Barrett
eb20ed7374
8228692: BitMap::reallocate might not clear some bits
...
Ensure trailing bits in last copied word are cleared.
Reviewed-by: tschatzl, sjohanss
2020-05-26 21:26:57 -04:00
Mikael Vidstedt
1401fe0087
8245521: Remove STACK_BIAS
...
Reviewed-by: dholmes, mbaesken, kvn
2020-05-26 12:36:59 -07:00
Thomas Stuefe
04e6b743db
8243392: Remodel CDS/Metaspace storage reservation
...
Reviewed-by: iklam, coleenp, ngasson, aph
2020-05-24 19:25:29 +02:00
Mikael Vidstedt
071bd521bc
8244224: Implementation of JEP 381: Remove the Solaris and SPARC Ports
...
Reviewed-by: alanb, bchristi, dcubed, dfuchs, eosterlund, erikj, glaubitz, ihse, iignatyev, jjiang, kbarrett, ksrini, kvn, naoto, prr, rriggs, serb, sspitsyn, stefank, tschatzl, valeriep, weijun, weijun
2020-05-20 17:33:37 -07:00
Thomas Stuefe
66514251c1
8244733: Add ResourceHashtable::xxx_if_absent
...
Reviewed-by: coleenp, iklam, rehn, dholmes
2020-05-20 15:56:39 +02:00
Yasumasa Suenaga
4159f6852e
8233706: JFR emergency dump should be performed after error reporting
...
Reviewed-by: mgronlun, egahlin
2020-05-19 09:02:30 +09:00
Gerard Ziemski
91ed3fc599
8236177: assert(status == 0) failed: error ETIMEDOUT(60), cond_wait
...
Extend the assert to cover the new case.
Reviewed-by: dholmes, kbarrett
2020-05-06 12:42:28 -05:00
Kim Barrett
e1f07cd05b
8239357: Revert gcc implementation of offset_of
...
Revert definition of offset_of and reenable -Winvalid-offsetof.
Reviewed-by: erikj, ihse, dholmes
2020-04-23 12:57:18 -04: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
d37985cd70
8210012: Implement Unified Logging Option for -XX:+TraceMethodHandles and -XX:+TraceInvokeDynamic
...
Transition the tracing method handles command line options to unified logging, -Xlog:methodhandles.
Reviewed-by: dholmes, iklam, jrose
2020-04-15 21:01:02 +00:00
Denghui Dong
919027a90e
8242485: Null _file checking in fileStream::flush()
...
Reviewed-by: dholmes, ysuenaga, iklam
2020-04-14 16:37:36 +08:00
Matthias Baesken
218d0f71cf
8242000: clean up list of environment variables printed in hs_err file
...
Reviewed-by: redestad, stuefe
2020-04-02 12:44:05 +02:00
Matthias Baesken
fc806b6706
8241948: enhance list of environment variables printed in hs_err file
...
Reviewed-by: dholmes, hseigel
2020-03-31 17:11:30 +02:00
Robbin Ehn
bf41f548e1
8220051: Remove global safepoint code
...
Reviewed-by: mdoerr, dcubed, eosterlund, bulasevich, coleenp
2020-04-01 14:54:44 +02:00