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
Stefan Karlsson
16df851efd
8241160: Concurrent class unloading reports GCTraceTime events as JFR pause sub-phase events
...
Reviewed-by: eosterlund, kbarrett
2020-03-18 17:28:41 +01:00
Jamsheed Mohammed C M
211e529373
8193210: [JVMCI/Graal] add JFR compiler phase/inlining events
...
C++ EventCompilerPhase/EventCompilerInlining definitions are extended for JVMCI use.
Reviewed-by: dnsimon, egahlin, kvn, mgronlun, thartmann
2020-03-27 09:47:13 -07:00
Thomas Stuefe
cc8715d844
8241581: Add BitMap::count_one_bits variant for arbitrary lengths
...
Reviewed-by: redestad, kbarrett
2020-03-27 07:16:22 +01:00
Claes Redestad
23d6a788b4
8241371: Refactor and consolidate package_from_name
...
Reviewed-by: iklam, lfoltan
2020-03-23 23:18:42 +01:00
Andrew Haley
195361216c
8241018: 32-bit integer log2 functions return the wrong value for negative arguments on 64-bit machines
...
Reviewed-by: kvn
2020-03-16 17:10:26 +00:00
Andrew Haley
0992e17b97
8240829: Use a fast O(1) algorithm for exact_log2
...
Reviewed-by: jrose, redestad
2020-03-11 12:38:57 +00:00
Andrew Haley
661c073594
8240615: is_power_of_2() has Undefined Behaviour and is inconsistent
...
Reviewed-by: jrose, redestad
2020-03-10 10:49:01 -04:00
Xin Liu
b08595d844
8239066: make LinkedList<T> more generic
...
Reviewed-by: phh, simonis
2020-02-26 12:35:43 +01:00
David Holmes
bd028945bd
8238988: Rename thread "in stack" methods and add in_stack_range
...
Reviewed-by: coleenp, dcubed
2020-02-23 22:35:59 -05:00
Stefan Karlsson
e4b27a48a0
8183574: Unify the is_power_of_2 functions
...
Reviewed-by: kbarrett, redestad
2020-02-17 10:03:17 +01:00
Aleksey Shipilev
18b31b1f02
8238909: x86_32 fails gtest:power_of_2
...
Reviewed-by: stefank, redestad
2020-02-13 17:05:30 +01: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
Magnus Ihse Bursie
ce28a96c28
8238281: Raise minimum gcc version needed to 5.0
...
Reviewed-by: erikj, dholmes, jwilhelm, mbaesken
2020-02-05 10:45:39 +01:00
Stefan Karlsson
17106c9e9d
8236778: Add Atomic::fetch_and_add
...
Reviewed-by: kbarrett, dholmes
2020-01-24 09:15:08 +01:00
David Holmes
7c27f9f5dd
8235741: Inappropriate uses of os::javaTimeMillis()
...
Reviewed-by: rehn, kbarrett, egahlin, shade
2020-01-17 00:52:10 -05:00
Goetz Lindenmaier
d6a2a079d1
8236772: Fix build for windows 32-bit after 8212160 and 8234331
...
Reviewed-by: clanger
2020-01-08 14:22:30 +01:00
Goetz Lindenmaier
51abf67ce1
8235998: [c2] Memory leaks during tracing after '8224193: stringStream should not use Resource Area'
...
Reviewed-by: dholmes, kvn
2019-12-16 14:10:20 +01:00
Claes Redestad
91de8b6c91
8235551: BitMap::count_one_bits should use population_count
...
Co-authored-by: Kim Barrett <kim.barrett@oracle.com>
Reviewed-by: kbarrett, neliasso
2019-12-11 16:24:10 +01:00
Claes Redestad
06cb195865
8234331: Add robust and optimized utility for rounding up to next power of two
...
Reviewed-by: eosterlund, stuefe, jrose
2019-12-06 18:05:36 +01:00
Kim Barrett
577e87e5b2
8234779: Provide idiom for declaring classes noncopyable
...
Add NONCOPYABLE macro and uses.
Reviewed-by: dholmes, pliden, coleenp
2019-12-03 19:09:30 -05:00
Kim Barrett
e70386f23a
8213415: BitMap::word_index_round_up overflow problems
...
Limit BitMap sizes so to-word round-up can't overflow.
Reviewed-by: tschatzl, stuefe
2019-12-03 15:12:56 -05:00
Robbin Ehn
21e03e71aa
8234796: Refactor Handshake::execute to take a more complex type than ThreadClosure
...
Reviewed-by: dholmes, pliden, coleenp
2019-12-03 15:32:41 +01:00
Stefan Karlsson
161333eeba
8234748: Clean up atomic and orderAccess includes
...
Reviewed-by: dholmes
2019-11-26 10:47:46 +01:00