1902 Commits

Author SHA1 Message Date
Corey Ashford
ccb48b7203 8248188: Add IntrinsicCandidate and API for Base64 decoding
8248188: Add IntrinsicCandidate and API for Base64 decoding, add Power64LE intrinsic implementation.

This patch set encompasses the following commits:

Adds a new intrinsic candidate to the java.lang.Base64 class - decodeBlock(), and provides a flexible API for the intrinsic. The API is similar to the existing encodeBlock intrinsic.

Adds the code in HotSpot to check and martial the new intrinsic's arguments to the arch-specific intrinsic implementation.

Adds a Power64LE-specific implementation of the decodeBlock intrinsic.

Adds a JMH microbenchmark for both Base64 encoding and encoding.

Enhances the JTReg hotspot intrinsic "TestBase64.java" regression test to more fully test both decoding and encoding.

Reviewed-by: rriggs, mdoerr, kvn
2020-11-11 21:31:07 +00:00
Roman Kennke
3c3469b9ce 8256020: Shenandoah: Don't resurrect objects during evacuation on AS_NO_KEEPALIVE
Reviewed-by: shade
2020-11-11 18:03:58 +00:00
Thomas Schatzl
6555996f92 8253600: G1: Fully support pinned regions for full gc
Reviewed-by: sjohanss, ayang
2020-11-10 16:36:06 +00:00
Roman Kennke
97d6e4aed7 8256046: Shenandoah: Mix-in NULL_PTR in non-strong ShLRBNode's type
Reviewed-by: roland, shade
2020-11-10 15:25:44 +00:00
Thomas Schatzl
c601849e00 8256038: G1: Improve comment about mark word handling of displaced mark words
Reviewed-by: sjohanss, kbarrett
2020-11-10 09:12:29 +00:00
Roman Kennke
a38dd53411 8256040: Shenandoah: Allow NULL referent in ShenandoahReferenceProcessor::should_discover()
Reviewed-by: shade
2020-11-10 06:56:58 +00:00
Aleksey Shipilev
4bc065cf9e 8255782: Turn UseTLAB and ResizeTLAB from product_pd to product, defaulting to "true"
Reviewed-by: stuefe, stefank, tschatzl
2020-11-10 06:29:53 +00:00
Zhengyu Gu
1332ba3c3c 8256039: Shenandoah: runtime/stringtable/StringTableCleaningTest.java fails
Reviewed-by: shade, rkennke
2020-11-10 00:05:20 +00:00
Stefan Johansson
79b7909507 8255980: G1 Service thread register_task can be used after shutdown
Reviewed-by: tschatzl, ayang
2020-11-09 14:24:24 +00:00
Roman Kennke
d99e1f6c29 8255991: Shenandoah: Apply 'weak' LRB on cmpxchg and xchg
Reviewed-by: shade
2020-11-09 09:19:13 +00:00
Zhengyu Gu
fc894ab11b 8255955: Shenandoah: Only STW GC should process concurrent roots at pauses
Reviewed-by: rkennke
2020-11-05 18:59:33 +00:00
Zhengyu Gu
31918c55f3 8255847: Shenandoah: Shenandoah should not mark through weak roots
Reviewed-by: rkennke
2020-11-05 15:29:11 +00:00
Lin Zang
a6ce6a5d80 8252103: Parallel heap inspection for ParallelScavengeHeap
Reviewed-by: sjohanss, tschatzl
2020-11-05 09:43:21 +00:00
Stefan Johansson
397972ebf3 8255848: -Xlog:gc+heap+exit shows "used 0K"
Reviewed-by: tschatzl, ayang
2020-11-05 08:13:40 +00:00
Tobias Hartmann
eb85b8da32 8255665: C2 should aggressively remove temporary hook nodes
Reviewed-by: chagedorn, kvn
2020-11-05 08:02:47 +00:00
Kim Barrett
6023f6b1bf 8188055: (ref) Add Reference::refersTo predicate
Reviewed-by: mchung, pliden, rriggs, dholmes, ihse, smarks, alanb
2020-11-04 09:18:23 +00:00
Kim Barrett
4b88119b4b 8253037: G1: Improve check for string dedup
Combine dedup enabled and is_string into a single test, using the already in-hand klass of the object.

Reviewed-by: ayang, tschatzl
2020-11-04 05:04:02 +00:00
Roman Kennke
eab99f37ce 8255852: Shenandoah: Fix incorrect copyright header in new files added by 8254315
Reviewed-by: zgu
2020-11-03 20:34:42 +00:00
Roman Kennke
f64a15d62e 8254315: Shenandoah: Concurrent weak reference processing
Reviewed-by: zgu, shade
2020-11-03 18:58:46 +00:00
Stefan Johansson
1d0bd50624 8254758: Change G1ServiceThread to be task based
Reviewed-by: ayang, iwalulya, tschatzl
2020-11-03 11:07:35 +00:00
Stefan Karlsson
c96a914b52 8255662: ZGC: Unify nmethod closures in the heap iterator
Reviewed-by: eosterlund, pliden
2020-11-03 07:31:47 +00:00
Aleksey Shipilev
d93e3a7d0b 8255760: Shenandoah: match constants style in ShenandoahMarkTask fallback
Reviewed-by: zgu, rkennke
2020-11-02 17:34:01 +00:00
Per Liden
3e89f729af 8255237: ZGC: Bulk free garbage pages during relocation set selection
Co-authored-by: Albert Mingkun Yang <ayang@openjdk.org>
Co-authored-by: Per Liden <pliden@openjdk.org>
Reviewed-by: ayang, eosterlund
2020-11-02 17:00:34 +00:00
Roland Westrelin
a3aad11918 8255400: Shenandoah: C2 failures after JDK-8255000
Reviewed-by: rkennke
2020-11-02 15:48:14 +00:00
Stefan Karlsson
1769c48342 8255471: ZGC: Rework root iterators and closures
Reviewed-by: eosterlund, pliden
2020-11-02 15:26:32 +00:00
Per Liden
4c66b158a8 8255235: ZGC: Allocate and initialize forwarding data structures in parallel
Reviewed-by: ayang, eosterlund
2020-11-02 14:31:56 +00:00
Roman Kennke
1019581ce2 8255691: Shenandoah: Invoke native-LRB only on non-strong refs
Reviewed-by: zgu
2020-11-02 14:10:47 +00:00
Roman Kennke
8600d0d982 8255614: Shenandoah: Consolidate/streamline runtime LRBs
Reviewed-by: zgu
2020-10-30 17:09:56 +00:00
Thomas Schatzl
2c7fc85be9 8254972: Fix pretouch chunk calculations
Reviewed-by: sjohanss, kbarrett
2020-10-30 08:45:34 +00:00
Kim Barrett
379ba80eb7 8255595: delay_to_keep_mmu passes wrong arguments to Monitor wait
Remove improper wait argument.

Reviewed-by: sjohanss, tschatzl, ayang
2020-10-30 04:24:34 +00:00
Thomas Schatzl
5c520c3fdd 8255232: G1: Make G1BiasedMappedArray freeable
Reviewed-by: ayang, kbarrett
2020-10-29 15:06:25 +00:00
Roman Kennke
faf23de54d 8255534: Shenandoah: Fix CmpP optimization wrt native-LRB
Reviewed-by: shade
2020-10-29 12:55:54 +00:00
Thomas Schatzl
38574d5169 8255298: Remove SurvivorAlignmentInBytes functionality
Reviewed-by: shade, ayang, kbarrett
2020-10-29 08:49:15 +00:00
Aleksey Shipilev
1215b1a8f5 8255457: Shenandoah: cleanup ShenandoahMarkTask
Reviewed-by: rkennke
2020-10-28 18:04:34 +00:00
Roman Kennke
1f00c3b9ba 8255527: Shenandoah: Let ShenadoahGCStateResetter disable barriers
Reviewed-by: shade, zgu
2020-10-28 12:14:44 +00:00
Per Liden
2c9dfc73f9 8255234: ZGC: Bulk allocate forwarding data structures
Co-authored-by: Albert Mingkun Yang <ayang@openjdk.org>
Co-authored-by: Per Liden <pliden@openjdk.org>
Reviewed-by: ayang, stefank
2020-10-28 08:56:57 +00:00
Anton Kozlov
acd0e2560c 8255254: Split os::reserve_memory and os::map_memory_to_file interfaces
Reviewed-by: stefank, stuefe
2020-10-27 20:37:01 +00:00
Stefan Karlsson
cf56c7e04c 8254980: ZGC: ZHeapIterator visits armed nmethods with -XX:-ClassUnloading
Reviewed-by: eosterlund, pliden
2020-10-27 12:27:23 +00:00
Stefan Karlsson
6666dcbe72 8237363: Remove automatic is in heap verification in OopIterateClosure
Reviewed-by: eosterlund, pliden
2020-10-26 17:22:47 +00:00
Thomas Schatzl
c520469639 8255131: G1CollectedHeap::is_in() returns wrong result
Reviewed-by: sjohanss, kbarrett, ayang
2020-10-23 08:22:05 +00:00
Jie Fu
8e5dff08fa 8255213: Shenandoah build fails without JFR after JDK-8255036
Reviewed-by: shade
2020-10-23 07:16:03 +00:00
Thomas Schatzl
cc50c8d4f1 8255196: Remove unused G1FullGCCompactionPoint::merge()
Reviewed-by: shade
2020-10-22 09:15:30 +00:00
Coleen Phillimore
56ea490f1e 8233343: Deprecate -XX:+CriticalJNINatives flag which implements JavaCritical native functions
Reviewed-by: rehn, mdoerr, zgu
2020-10-21 20:33:24 +00:00
Zhengyu Gu
615b759edd 8255070: Shenandoah: Use single thread for concurrent CLD liveness test
Reviewed-by: rkennke
2020-10-21 19:44:24 +00:00
Zhengyu Gu
c9269bf59e 8255036: Shenandoah: Reset GC state for root verifier
Reviewed-by: rkennke
2020-10-21 14:42:37 +00:00
Vladimir Ivanov
7e2640432b 8255000: C2: Unify IGVN processing when loop opts are over
Reviewed-by: neliasso, iveresov, kvn
2020-10-21 08:09:00 +00:00
Coleen Phillimore
5f1918db26 8244955: Additional Fix for JDK-8240124
Reviewed-by: rehn, pliden, smarks
2020-10-20 14:58:38 -07:00
Coleen Phillimore
a5cb23e29f 8240124: Better VM Interning
Reviewed-by: rehn, pliden, smarks, rhalade, ahgross, jwilhelm
2020-10-20 14:58:37 -07:00
Zhengyu Gu
856037c417 8255006: Add NULL-check to StringDedupTable lookup
Reviewed-by: rkennke, kbarrett
2020-10-20 18:06:43 +00:00
Per Liden
3267b09d5a 8254883: ZGC: Make the ZArrayIterator reusable for ZRelocationSetIterators
Reviewed-by: eosterlund
2020-10-20 16:07:33 +00:00