Maurizio Cimadamore
a223189b06
8264774: Implementation of Foreign Function and Memory API (Incubator)
...
Co-authored-by: Paul Sandoz <psandoz@openjdk.org>
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Co-authored-by: Vladimir Ivanov <vlivanov@openjdk.org>
Co-authored-by: Athijegannathan Sundararajan <sundar@openjdk.org>
Co-authored-by: Chris Hegarty <chegar@openjdk.org>
Reviewed-by: psandoz, chegar, mchung, vlivanov
2021-06-02 10:53:06 +00:00
Tagir F. Valeev
0c9daa7ed5
8265029: Preserve SIZED characteristics on slice operations (skip, limit)
...
Reviewed-by: psandoz
2021-05-28 01:56:38 +00:00
Jorn Vernee
3623abb7f6
8263087: Add a MethodHandle combinator that switches over a set of MethodHandles
...
Reviewed-by: redestad
2021-05-27 12:28:10 +00:00
Dongbo He
85f616522b
8267817: [TEST] Remove unnecessary init in test/micro/org/openjdk/bench/javax/crypto/full/AESGCMBench:setup
...
Reviewed-by: redestad
2021-05-27 11:49:25 +00:00
Xubo Zhang
8e3549fc73
8266332: Adler32 intrinsic for x86 64-bit platforms
...
Co-authored-by: Xubo Zhang <xubo.zhang@intel.com>
Co-authored-by: Greg B Tucker <greg.b.tucker@intel.com>
Co-authored-by: Pengfei Li <pli@openjdk.org>
Reviewed-by: sviswanathan, jbhateja, kvn, neliasso
2021-05-19 23:44:23 +00:00
Jatin Bhateja
88b114235c
8267357: build breaks with -Werror option on micro benchmark added for JDK-8256973
...
Reviewed-by: jiefu, neliasso, thartmann
2021-05-19 09:58:48 +00:00
Jatin Bhateja
7aa65685b8
8256973: Intrinsic creation for VectorMask query (lastTrue,firstTrue,trueCount) APIs
...
Reviewed-by: psandoz, vlivanov
2021-05-19 05:22:02 +00:00
Wang Huang
599d07c0db
8263006: Add optimization for Max(*)Node and Min(*)Node
...
Co-authored-by: Wang Huang <whuang@openjdk.org>
Co-authored-by: Wu Yan <wuyan34@huawei.com>
Reviewed-by: kvn
2021-05-14 17:16:28 +00:00
Harold Seigel
e14b026841
8243287: Removal of Unsafe::defineAnonymousClass
...
Reviewed-by: iklam, mchung, alanb, dholmes
2021-05-13 12:46:54 +00:00
Jason Zaugg
0a12605df8
8265448: (zipfs): Reduce read contention in ZipFileSystem
...
Reviewed-by: alanb, lancea
2021-05-11 18:06:37 +00:00
Brian Burkhalter
7a0a57cd56
8266820: micro java/nio/SelectorWakeup.java has wrong copyright header
...
Reviewed-by: chegar, alanb, michaelm, iris
2021-05-11 16:12:36 +00:00
Alan Bateman
be4f25b0c8
8266369: (se) Add wepoll based Selector
...
Reviewed-by: chegar, michaelm, vtewari, dfuchs, bpb
2021-05-08 07:14:36 +00:00
Marcus G K Williams
ff65920cd1
8265491: Math Signum optimization for x86
...
Reviewed-by: jiefu, jbhateja, neliasso
2021-05-03 16:28:14 +00:00
Hamlin Li
15d4787724
8265496: improve null check in DeflaterOutputStream/InflaterInputStream
...
Reviewed-by: lancea, naoto
2021-04-27 01:06:56 +00:00
Peter Levart
98cb81b381
8265237: String.join and StringJoiner can be improved further
...
Reviewed-by: rriggs, redestad
2021-04-21 10:32:03 +00:00
Jie Fu
b64a3fb946
8265325: Optimize StubRoutines::dpow() for Math.pow(x, 0.5)
...
Reviewed-by: kvn, neliasso
2021-04-19 10:45:20 +00:00
Dong Bo
77b16739ab
8256245: AArch64: Implement Base64 decoding intrinsic
...
Reviewed-by: aph, ngasson
2021-04-09 01:28:11 +00:00
Jorn Vernee
b7baca7f32
8264288: Performance issue with MethodHandle.asCollector
...
Reviewed-by: jrose, vlivanov
2021-04-05 20:05:07 +00:00
Jie Fu
c04a743bd4
8264557: Incorrect copyright year for test/micro/org/openjdk/bench/java/lang/MathBench.java after JDK-8264054
...
Reviewed-by: neliasso
2021-04-01 15:12:22 +00:00
Sandhya Viswanathan
52d8a22943
8264054: Bad XMM performance on java.lang.MathBench.sqrtDouble
...
Co-authored-by: Eric Caspole <ecaspole@openjdk.org>
Co-authored-by: Charlie Hunt <huntch@openjdk.org>
Reviewed-by: neliasso, kvn, vlivanov
2021-04-01 00:34:00 +00:00
Eric Caspole
6225ae636e
8264466: Cut-paste error in InterfaceCalls JMH
...
Reviewed-by: shade, thartmann
2021-03-31 15:20:05 +00:00
Claes Redestad
e152cc0312
8263677: Improve Character.isLowerCase/isUpperCase lookups
...
Reviewed-by: erikj, ihse, naoto, rriggs
2021-03-17 15:22:06 +00:00
Sergey Tsypanov
000012a3b0
8148937: (str) Adapt StringJoiner for Compact Strings
...
Reviewed-by: redestad, chegar
2021-03-17 13:34:58 +00:00
Claes Redestad
f71b21b0e7
8263038: Optimize String.format for simple specifiers
...
Reviewed-by: rriggs, naoto
2021-03-08 23:13:45 +00:00
Claes Redestad
13625bebd0
8263090: Avoid reading volatile fields twice in Locale.getDefault(Category)
...
Reviewed-by: rriggs, naoto, serb
2021-03-08 10:32:55 +00:00
djelinski
18fc35053c
8259886: Improve SSL session cache performance and scalability
...
Reviewed-by: erikj, xuelei
2021-03-07 01:13:24 +00:00
Eric Liu
382e38dd24
8256438: AArch64: Implement match rules with ROR shift register value
...
Reviewed-by: aph, roland
2021-02-24 09:49:53 +00:00
Claes Redestad
433096a45e
8261744: Implement CharsetDecoder ASCII and latin-1 fast-paths
...
Reviewed-by: naoto, alanb
2021-02-19 15:05:25 +00:00
Claes Redestad
8b6ab31d31
8261418: Reduce decoder creation overheads for sun.nio.cs.ext Charsets
...
Reviewed-by: naoto
2021-02-11 10:43:56 +00:00
Claes Redestad
2f893c2b83
8260337: Optimize ImageReader lookup, used by Class.getResource
...
Reviewed-by: jlaskey, sundar
2021-02-09 15:32:36 +00:00
Martin Buchholz
351d788809
8259074: regex benchmarks and tests
...
Reviewed-by: redestad
2021-02-08 18:09:59 +00:00
Claes Redestad
07918995da
8261154: Memory leak in Java_java_lang_ClassLoader_defineClass0 with long class names
...
Reviewed-by: stuefe, chegar, mchung
2021-02-05 08:58:32 +00:00
Sergey Bylokhov
f279ff9d2f
8261010: Delete the Netbeans "default" license header
...
Reviewed-by: iris, psadhukhan
2021-02-03 23:13:12 +00:00
Chris Hegarty
ac276bb394
8257074: Update the ByteBuffers micro benchmark
...
Reviewed-by: redestad, dfuchs, jvernee, bpb
2021-01-27 14:09:15 +00:00
Hamlin Li
c52c6c66db
8260273: DataOutputStream writeChars optimization
...
Reviewed-by: rriggs, bpb, alanb
2021-01-25 01:05:40 +00:00
Claes Redestad
58ceb25443
8259842: Remove Result cache from StringCoding
...
Reviewed-by: naoto, plevart, rriggs
2021-01-22 11:27:13 +00:00
Brian Burkhalter
a8073efeed
8253478: (se) epoll Selector should use eventfd for wakeup instead of pipe
...
Reviewed-by: alanb
2021-01-21 21:36:19 +00:00
Claes Redestad
35c9da7031
8259498: Reduce overhead of MD5 and SHA digests
...
Reviewed-by: valeriep
2021-01-20 23:45:55 +00:00
Claes Redestad
5891509d13
8259947: (fs) Optimize UnixPath.encode implementation
...
Reviewed-by: chegar, shade, alanb
2021-01-20 15:14:48 +00:00
Dong Bo
ccac7aaea3
8258932: AArch64: Enhance floating-point Min/MaxReductionV with fminp/fmaxp
...
Reviewed-by: aph
2021-01-12 13:27:47 +00:00
Claes Redestad
fc1d2a1e8e
8259065: Optimize MessageDigest.getInstance
...
Reviewed-by: valeriep
2021-01-08 09:20:42 +00:00
Jatin Bhateja
c11525a45e
8257772: Vectorizing clear memory operation using AVX-512 masked operations
...
Reviewed-by: thartmann, kvn
2020-12-17 04:42:19 +00:00
Maurizio Cimadamore
7ff9c85639
8258242: Type profile pollution occurs when memory segments of different kinds are used
...
Reviewed-by: vlivanov, redestad
2020-12-15 13:50:40 +00:00
Maurizio Cimadamore
37043b0557
8257837: Performance regression in heap byte buffer views
...
Reviewed-by: chegar, roland
2020-12-10 15:32:36 +00:00
Maurizio Cimadamore
dede01eb20
8257622: MemoryAccess methods are missing @ForceInline annotations
...
Reviewed-by: jvernee, shade
2020-12-04 11:46:06 +00:00
Mandy Chung
56b15fbbcc
8159746: (proxy) Support for default methods
...
Co-authored-by: Peter Levart <plevart@openjdk.org>
Reviewed-by: darcy, alanb, plevart
2020-12-01 17:23:07 +00:00
Mandy Chung
4356469a31
8230501: Class data support for hidden classes
...
Reviewed-by: jvernee, psandoz, chegar
2020-12-01 00:24:40 +00:00
Jorn Vernee
7c73fff34d
8256486: Linux/Windows-x86 builds broken after JDK-8254231
...
Reviewed-by: shade
2020-11-25 18:09:22 +00:00
Maurizio Cimadamore
0fb31dbf3a
8254231: Implementation of Foreign Linker API (Incubator)
...
Reviewed-by: coleenp, ihse, dholmes, vlivanov
2020-11-23 11:00:38 +00:00
Weijun Wang
b21b96df21
8256507: Add a micro benchmark for JDK-8153005
...
Reviewed-by: shade
2020-11-20 19:53:24 +00:00
Maurizio Cimadamore
d2ddf07461
8256477: Specialize heap memory segment implementations
...
Reviewed-by: jvernee, chegar
2020-11-18 10:23:20 +00:00
Dong Bo
b0b9dd27b8
8256318: AArch64: Add support for floating-point absolute difference
...
Reviewed-by: aph
2020-11-18 10:14:20 +00:00
Maurizio Cimadamore
3e70aac5cc
8254162: Implementation of Foreign-Memory Access API (Third Incubator)
...
Reviewed-by: erikj, psandoz, alanb
2020-11-12 16:37:23 +00:00
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
Dong Bo
8638cd9acf
8255625: AArch64: Implement Base64.encodeBlock accelerator/intrinsic
...
Reviewed-by: aph
2020-11-11 01:51:27 +00:00
Jorn Vernee
0a41ca6b75
8254354: Add a withInvokeExactBehavior() VarHandle combinator
...
Reviewed-by: psandoz, chegar
2020-11-10 23:26:02 +00:00
Claes Redestad
6ae5e5b6b7
8221404: C2: Convert RegMask and IndexSet to use uintptr_t
...
Reviewed-by: kvn, thartmann
2020-11-10 16:48:21 +00:00
Dong Bo
f71f9dc93a
8255949: AArch64: Add support for vectorized shift right and accumulate
...
Reviewed-by: aph
2020-11-10 01:24:25 +00:00
Andrew Haley
17f04fc9e7
8254078: DataOutputStream is very slow post-disabling of Biased Locking
...
Reviewed-by: rriggs, shade, alanb
2020-11-09 16:02:30 +00:00
Jorn Vernee
804bd72599
8255128: linux x86 build failure with libJNIPoint.c
...
Reviewed-by: coleenp, shade, ihse
2020-11-04 18:10:49 +00:00
jasontatton-aws
72ff8e2118
8254782: Fix benchmark issues in java/lang/StringIndexOfChar.java benchmark
...
Reviewed-by: redestad, shade
2020-10-29 12:06:43 +00:00
Claes Redestad
a7595b2a61
8250669: Running JMH micros is broken after JDK-8248135
...
Reviewed-by: ecaspole, erikj
2020-10-28 22:36:43 +00:00
Michael McMahon
3f20612e03
8255555: Bad copyright headers in SocketChannelCompare.java SocketChannelConnectionSetup.java UnixSocketChannelReadWrite.java
...
Reviewed-by: dfuchs, bpb
2020-10-28 19:00:47 +00:00
Michael McMahon
6bb7e45e8e
8245194: Unix domain socket channel implementation
...
Reviewed-by: erikj, dfuchs, alanb, chegar
2020-10-28 17:26:26 +00:00
Dong Bo
6b2d11ba24
8255246: AArch64: Implement BigInteger shiftRight and shiftLeft accelerator/intrinsic
...
Reviewed-by: aph
2020-10-28 11:52:07 +00:00
Fei Yang
b25d894015
8252204: AArch64: Implement SHA3 accelerator/intrinsic
...
Co-authored-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Co-authored-by: Dong Bo <dongbo4@huawei.com>
Reviewed-by: aph, kvn
2020-10-22 04:38:39 +00:00
Claes Redestad
96a1f08e80
8254775: Microbenchmark StringIndexOfChar doesn't compile
...
Reviewed-by: rriggs
2020-10-14 15:25:43 +00:00
Jason Tatton (AWS)
f71e8a6198
8173585: Intrinsify StringLatin1.indexOf(char)
...
Reviewed-by: neliasso
2020-10-14 12:58:21 +00:00
Jatin Bhateja
4b5ac3abac
8252847: Optimize primitive arrayCopy stubs using AVX-512 masked instructions
...
Reviewed-by: neliasso, kvn
2020-10-10 06:29:38 +00:00
Stuart Marks
88d75c9ad5
8156071: List.of: reduce array copying during creation
...
Reviewed-by: psandoz, redestad
2020-10-05 17:00:57 +00:00
Julia Boes
e0cf023263
8245309: Re-examine use of ThreadLocalCoders in sun.net.www.ParseUtil
...
Reviewed-by: shade, dfuchs, alanb, chegar
2020-09-16 10:49:13 +00:00
Rahul Yadav
0f64d4bead
8245308: Replace ThreadLocalCoders decoder/encoder cache in java.net.URI
...
This fix updates java.net.URI and replaces the ThreadLocalCoders optimization.
Reviewed-by: alanb, dfuchs
2020-08-28 18:05:20 +01:00
Tagir F. Valeev
55e381b32f
8247605: Avoid array allocation when concatenating with empty string
...
Reviewed-by: redestad, plevart
2020-08-10 16:14:03 +00:00
Jatin Bhateja
3ed56830b4
8248830
: C2: Optimize Rotate API on x86
...
Improved existing scalar rotate operations, added support for vector rotate operations using new AVX512 instructions.
Reviewed-by: vlivanov, kvn
2020-08-09 02:03:09 +05:30
Boris Ulasevich
4a1d4be729
8248870: AARCH64: I2L/L2I conversions can be skipped for masked positive values
...
Reviewed-by: aph
2020-07-24 08:21:11 -04:00
Naoto Sato
1f63603288
8248655: Support supplementary characters in String case insensitive operations
...
8248434: some newly added locale cannot parse uppercased date string
Reviewed-by: jlaskey, joehw, rriggs, bchristi
2020-07-23 08:46:31 -07:00
Boris Ulasevich
6d137a3616
8248043: Need to eliminate excessive i2l conversions
...
Reviewed-by: redestad, kvn, iveresov
2020-07-06 04:44:25 -04:00
Boris Ulasevich
48c0ce3b4b
8247408: IdealGraph bit check expression canonicalization
...
Reviewed-by: aph, kvn, adinn
2020-06-29 07:26:10 -04:00
Pengfei Li
ac4f14c386
8247307: C2: Loop array fill stub routines are not called
...
Ignore safepoint polling use of CountedLoopNode when matching loop array fill pattern.
Reviewed-by: kvn, thartmann
2020-06-28 06:15:31 +00:00
Jesper Wilhelmsson
233cac3232
Merge
2020-06-25 03:11:32 +02:00
Peter Levart
2f09989ec0
8247532: Records deserialization is slow
...
8248135: Build microbenchmarks with --enable-preview
Test contributed by Chris Hegarty <chris.hegarty@oracle.com>
Reviewed-by: chegar, psandoz, redestad, ihse
2020-06-24 11:05:09 +02:00
Chris Hegarty
7f69acc778
8247696: Incorrect tail computation for large segments in AbstractMemorySegmentImpl::mismatch
...
Reviewed-by: psandoz, mcimadamore
2020-06-23 10:09:26 +01:00
Claes Redestad
8d9826e4d1
8247995: Avoid use of a mapping function in Permissions.getPermissionCollection
...
Reviewed-by: rriggs
2020-06-23 10:07:10 +02:00
Claes Redestad
34c79640e7
8247681: Improve bootstrapping of unary concatenations
...
Reviewed-by: jlaskey, psandoz
2020-06-17 19:36:26 +02:00
Tagir F. Valeev
0a108f9ef2
8247605: Avoid array allocation when concatenating with empty string
...
Reviewed-by: redestad, plevart
2020-06-16 03:16:41 +00:00
Anthony Scarpino
b6a9f3015a
8241680: crypto microbenchmarks need updating for disabled EC curves
...
Reviewed-by: ecaspole, redestad, skuksenko, jnimeh
2020-06-09 16:01:25 -07:00
Claes Redestad
9cd41b6555
8246592: Simplify checking of boolean file attributes
...
Reviewed-by: rriggs, alanb
2020-06-08 22:47:16 +02:00
Eric Caspole
a351ebd40b
8245043: Simplified contention benchmark
...
Reviewed-by: shade, skuksenko
2020-06-04 13:16:38 -04:00
Claes Redestad
827c8865d8
8246451: Reduce overhead of normalizing file paths with trailing slash
...
Reviewed-by: lancea
2020-06-03 22:29:34 +02:00
Chris Hegarty
f1e1cb7055
8246095: Tweaks to memory access API
...
Add more user friendly API points to the foreign memory acesss API
Reviewed-by: chegar, psandoz
2020-06-03 16:50:03 +01:00
Claes Redestad
0366f6bf45
8246338: Reduce overhead of normalizing file paths
...
Reviewed-by: alanb
2020-06-02 22:22:58 +02:00
Claes Redestad
1f698a35f2
8246152: Improve String concat bootstrapping
...
Reviewed-by: forax, psandoz
2020-06-01 22:04:22 +02:00
David Holmes
7228978b19
8242504: Enhance the system clock to nanosecond precision
...
Co-authored-by: Mark Kralj-Taylor <kralj.mark@gmail.com>
Reviewed-by: dfuchs, rriggs, dcubed, vtewari
2020-05-28 22:34:02 -04:00
Chris Hegarty
f3eb44a94d
8243491: Implementation of Foreign-Memory Access API (Second Incubator)
...
Upstream latest changes of the Foreign-Memory Access API
Co-authored-by: Jorn Vernee <jorn.vernee@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Paul Sandoz <paul.sandoz@oracle.com>
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: chegar, psandoz
2020-05-25 10:54:39 +01:00
Anthony Scarpino
fd28aad72d
8166597: Crypto support for the EdDSA Signature Algorithm
...
Reviewed-by: weijun, mullan, wetmore
2020-05-18 09:42:52 -07:00
Claes Redestad
168cdcf65d
8244936: Reduce JNI overhead of accessing FileDescriptor
...
Reviewed-by: rriggs, alanb
2020-05-13 22:25:14 +02:00
Claes Redestad
fc842d2b4b
8193066: Avoid use of capturing lambdas in JarFile
...
Reviewed-by: lancea, alanb
2020-05-11 21:43:57 +02:00
Claes Redestad
ceda3089db
8244624: Improve handling of JarFile META-INF resources
...
Reviewed-by: lancea, weijun, martin
2020-05-11 10:37:54 +02:00
Volker Simonis
6a9d0579ca
8244094: Fix Amazon copyright in various test files
...
Reviewed-by: phh
2020-05-06 22:06:16 +02:00
Claes Redestad
d2e0d0e06a
8243469: Lazily encode name in ZipFile.getEntryPos
...
Co-authored-by: Eirik Bjørsnøs <eirbjo@gmail.com>
Reviewed-by: lancea, simonis
2020-04-27 17:26:05 +02:00