Commit Graph

979 Commits

Author SHA1 Message Date
Xueming Shen
6223e843f9 8160312: ArrayIndexOutOfBoundsException when comparing strings case insensitive
Reviewed-by: rriggs
2016-06-27 13:57:24 -07:00
Chris Hegarty
c53f3cbcbe 8154017: Shutdown hooks are racing against shutdown sequence, if System.exit()-calling thread is interrupted
Reviewed-by: alanb, dholmes, shade
2016-06-24 06:47:32 +01:00
Joe Darcy
e48c0f85b2 8158430: Push tests for JDK-5040830
Reviewed-by: psandoz
2016-06-01 11:22:06 -07:00
Alan Bateman
8547893efe 8158456: ModuleDescriptor.read does not verify dependence on java.base in module-info.class
8159248: ModuleFinder.of not clear that FindException thrown if module descriptor cannot be derived for automatic module

Reviewed-by: chegar, mchung
2016-06-17 08:41:39 +01:00
Joe Darcy
b2795ca463 8071859: AnnotationInvocationHandler.equals(Object) return true when apply to annotation
Reviewed-by: mchung, chegar
2016-06-16 13:00:34 -07:00
Mandy Chung
99b0f7996c 8068764: java/lang/ClassLoader/ExtDirs.java failed with java.lang.IllegalThreadStateException with fastdebug
Reviewed-by: alanb
2016-06-15 11:56:09 -07:00
Alexandre Iline
431772cea7 8158855: Fix remaining module dependences in java/lang
Reviewed-by: alanb, mchung, amlu
2016-06-15 10:25:25 -07:00
Joe Darcy
0530bceffc 5041778: (ann) AnnotationFormatError if "default" Class type not found
Reviewed-by: jfranck
2016-06-12 12:14:52 -07:00
Shilpi Rastogi
41fa7638dd 8147585: Annotations with lambda expressions has parameter result in wrong behavior
Reviewed-by: psandoz, darcy, jfranck, vlivanov, mhaupt
2016-06-09 09:33:37 +02:00
Aleksey Shipilev
41b6361f34 8158851: MH.publicLookup() init circularity, triggered by custom SecurityManager with String concat and -limitmods java.base
Reviewed-by: alanb, redestad, jlaskey
2016-06-08 11:14:45 +03:00
Shilpi Rastogi
389fc2ae25 8158171: MethodHandles.dropArgumentsToMatch(...) non-documented IAE
Reviewed-by: sundar, mhaupt
2016-06-06 09:13:35 +02:00
Brent Christian
3af1187ad7 8152893: StackWalker#getCallerClass is not filtering hidden/ reflection frames when walker is configured to show hidden /reflection frames
Reviewed-by: mchung
2016-06-03 17:01:23 -07:00
Mandy Chung
74c27aab0f 8157892: StackFrame::getFileName returns null when a source file exists for native methods
8157977: getByteCodeIndex method from StackFrame does not return negative number when StackFrame is a native frame

Reviewed-by: dfuchs, bchristi
2016-06-02 16:39:14 -07:00
Alan Bateman
39e8310a9a 8156143: Module.getResourceAsStream throws unspecified SecurityException with module in custom Layer
Reviewed-by: chegar, mchung
2016-05-26 10:56:58 +01:00
Alan Bateman
bfb7fba79b 8156142: ModuleReader instances don't always throw NPE for passed null args
Reviewed-by: chegar, mchung
2016-05-25 20:12:32 +01:00
Alan Bateman
53e204dc49 8150668: Layer.defineModulesXXX with a Configuration containing java.base throws undocumented exception
Reviewed-by: chegar, mchung
2016-05-25 19:58:03 +01:00
Hamlin Li
f86a99352f 8151904: test/java/lang/StackWalker/VerifyStackTrace.java needs to handle update releases
Reviewed-by: dfuchs, mchung
2016-05-24 18:41:31 -07:00
Alan Bateman
fe609fd3cb 8157598: ModuleReader find returns incorrect URI when modular JAR is a multi-release JAR
Reviewed-by: chegar, mchung
2016-05-24 11:31:25 +01:00
Alan Bateman
ce04e9d9a2 8152650: ModuleFinder.compose should accept varargs
Reviewed-by: mchung
2016-05-21 08:01:03 +01:00
Brian Burkhalter
3497da36a2 8023217: Additional floorDiv/floorMod/multiplyExact methods for java.lang.Math
Add new methods with long, int signatures.

Reviewed-by: darcy, scolebourne
2015-09-29 17:28:44 -07:00
Brian Burkhalter
8c58aff49d 5100935: No way to access the 64-bit integer multiplication of 64-bit CPUs efficiently
Add methods multiplyFull() and multiplyHigh() to Math and StrictMath.

Reviewed-by: darcy
2016-05-20 14:41:41 -07:00
Brent Christian
0260528ef9 8029891: Deadlock detected in java/lang/ClassLoader/deadlock/GetResource.java
Properties now stores values in an internal ConcurrentHashMap

Reviewed-by: mchung, dholmes, plevart
2016-05-19 16:25:35 -07:00
Iris Clark
a950576f78 8144062: Move jdk.Version to java.lang.Runtime.Version
Reviewed-by: abuckley, alanb, forax, jjg, mchung, psandoz
2016-05-19 12:04:54 -07:00
Paul Sandoz
4b1159ce76 8157239: java/lang/invoke/VarHandles/ tests fail by timeout with -Xcomp with lambda form linkage
Reviewed-by: vlivanov
2016-05-19 16:08:40 +02:00
Paul Sandoz
0bad445941 8157152: Atomic add for VarHandle byte[]/ByteBuffer views is incorrect for endian conversion
Reviewed-by: fyuan, shade, vlivanov
2016-05-18 18:46:14 +02:00
Alexandre Iline
b67da697df 8156972: java/lang/reflect/Layer/LayerAndLoadersTest.java test requires jdk.compiler
Reviewed-by: alanb
2016-05-18 11:56:24 +01:00
Michael Haupt
c4976196f5 8156915: introduce MethodHandle factory for array length
Reviewed-by: sundar
2016-05-18 10:42:29 +02:00
Aleksey Shipilev
33bb9220fc 8157171: Hook up Unsafe.weakCompareAndSetVolatile to VarHandles
Reviewed-by: psandoz, redestad
2016-05-17 22:28:00 +03:00
Daniel Fuchs
a96b7f7d25 8139982: Re-examine java.management dependency on java.util.logging.LoggingMXBean
The logging MXBean implementation no longer implements java.util.logging.LoggingMXBean. java.lang.management.PlatformLoggingMXBean is used instead. java.util.logging.LoggingMXBean and java.util.logging.LogManager::getLoggingMXBean are now deprecated. Types and accessors defined in java.lang.management should be used instead.

Reviewed-by: mchung
2016-05-17 19:24:46 +02:00
Alejandro Murillo
8d9cf355fd Merge 2016-05-17 07:43:45 -07:00
Athijegannathan Sundararajan
38f007ac7f 8157146: Add debug printlns to tests FieldSetAccessibleTest and VerifyJimage.java
Reviewed-by: alanb, shade
2016-05-17 19:53:43 +05:30
Alejandro Murillo
ffaebaa66e Merge 2016-05-17 05:38:15 -07:00
Paul Sandoz
44afe20e99 8156485: MethodHandles.varHandleExactInvoker should perform exact checks
Reviewed-by: vlivanov
2016-05-17 12:06:41 +02:00
Alejandro Murillo
7a3decd3a2 Merge 2016-05-14 09:11:07 -07:00
Daniel Fuchs
172839f24f 8156153: java/lang/System/LoggerFinder/jdk/DefaultLoggerBridgeTest/DefaultLoggerBridgeTest.java fails with java.lang.RuntimeException
Runs each scenario in its own VM to avoid unwanted interaction and start from a clean slate.

Reviewed-by: mchung
2016-05-11 19:23:58 +02:00
Alexandre Iline
114e7f30f7 8156695: Fix @modules in tests in java/lang/management
As part of JDK-8155993, tests are updated to declare dependencies on jdk.management.

Reviewed-by: mchung
2016-05-10 14:51:29 -07:00
Jaroslav Kamenik
553aa43136 8155795: Optimize Integer/Long.reverse by using reverseBytes
Reviewed-by: redestad, shade
2016-05-10 13:28:00 +02:00
Mandy Chung
36b0cdb85a 8153912: Reconsider StackFrame::getFileName and StackFrame::getLineNumber
Add StackFrame::getByteCodeIndex method. Revised getFileName and getLineNumber method.

Reviewed-by: dfuchs, bchristi
2016-05-09 09:35:57 -07:00
Vladimir Ivanov
8761e88b55 Merge 2016-05-09 12:39:41 +03:00
Serguei Spitsyn
427a2549f6 8156147: NPE in InstrumentationImpl.transform when loading classes from -Xbootclasspath/a
Use the jdk.internal.loader.Bootloader if the loader argument is null

Reviewed-by: alanb
2016-05-06 12:45:04 -07:00
Vladimir Ivanov
905fb139d7 Merge 2016-05-06 18:21:41 +03:00
Alejandro Murillo
775606f20c Merge 2016-05-06 06:23:30 -07:00
Alexandre Iline
cbf4406738 8154182: Fix java/lang/Class/getDeclaredField/FieldSetAccessibleTest.java to only use available modules
Reviewed-by: alanb, mchung
2016-05-05 13:57:47 -07:00
Alejandro Murillo
ec7cfcc7c6 Merge 2016-05-05 12:35:54 -07:00
Brent Christian
b52c5bbd67 8147039: Incorrect locals and operands in compiled frames
Implement stack walking using javaVFrame instead of vframeStream

Reviewed-by: mchung, vlivanov
2016-05-05 11:44:01 -07:00
Harsha Wardhana B
182152c385 8154166: java/lang/management/MemoryMXBean/ResetPeakMemoryUsage.java fails with RuntimeException
Fix the RuntimeException issue

Reviewed-by: jbachorik
2016-05-05 01:52:03 -07:00
Aleksey Shipilev
4f53885343 8155739: [TESTBUG] VarHandles/Unsafe tests for weakCAS should allow spurious failures
Reviewed-by: psandoz, vlivanov, simonis
2016-05-04 17:17:28 +03:00
Alan Bateman
44790114ee Merge 2016-05-03 11:45:56 +01:00
Alan Bateman
36e0820801 8154956: Module system implementation refresh (4/2016)
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: alanb, mchung, chegar, redestad
2016-05-03 09:09:57 +01:00
Max Ockner
3dfed24a47 8154110: Update class* and safepoint* logging subsystems
Refactored logging tags in class and safepoint subsystems.

Reviewed-by: coleenp, rehn, hseigel
2016-04-29 22:39:44 -04:00
Paul Sandoz
e955660cf1 8154755: Add a VarHandle weakCompareAndSet with volatile semantics
Reviewed-by: shade, vlivanov
2016-04-29 13:46:19 -07:00
Aleksey Shipilev
a6f2cdbb0f 8155090: String concatenation fails with a custom SecurityManager that uses concatenation
Reviewed-by: redestad, chegar
2016-04-29 13:24:27 +03:00
Michael Haupt
0b7775586f 8155106: MHs.Lookup.findConstructor returns handles for array classes
Reviewed-by: shade, sundar
2016-04-27 20:18:49 +02:00
Daniel Fuchs
1e0d1458a2 8148568: LoggerFinder.getLogger and LoggerFinder.getLocalizedLogger should take a Module argument instead of a Class
Changes System.LoggerFinder methods to take a Module argument instead of a Class.

Reviewed-by: mchung
2016-04-27 18:04:16 +02:00
Michael Haupt
fe4860fe5e 8155214: java/lang/invoke/PermuteArgsTest.java fails due to exhausted code cache
Reviewed-by: sundar
2016-04-27 15:01:21 +02:00
Paul Sandoz
27f82bea87 8154447: Exempt classes under java.util.concurrent from MH.Lookup restrictions
Reviewed-by: mchung, martin
2016-04-26 18:42:51 -07:00
Paul Sandoz
1af2806677 8154556: Use java.nio.ByteOrder instead of boolean value
Reviewed-by: alanb
2016-04-26 18:30:00 -07:00
Michael Haupt
cafabcafce 8154754: MethodHandles.countedLoop errors in deriving loop arguments, result type, and local state
Reviewed-by: redestad
2016-04-22 15:05:54 +02:00
Michael Haupt
e53e280d37 8154751: MethodHandles.countedLoop does not accept empty bodies
Reviewed-by: redestad
2016-04-22 15:05:26 +02:00
Michael Haupt
5b392c0abc 8152667: MHs.iteratedLoop(...) throws unexpected WMTE, disallows Iterator subclasses, generates inconsistent loop result type
Reviewed-by: redestad
2016-04-22 13:36:22 +02:00
Amy Lu
b909478b3d 8152936: java/lang/Class/GetPackageTest.java needs update to work with newer testng
Reviewed-by: alanb
2016-04-21 14:56:40 +08:00
Michael Haupt
402c448d0a 8150956: j.l.i.MethodHandles.whileLoop(...) and .iteratedLoop(...) throw unexpected exceptions in the case of 'init' return type is void
Reviewed-by: psandoz
2016-04-19 14:39:35 +02:00
Alejandro Murillo
df4b562ac5 Merge 2016-04-18 15:39:47 -07:00
Alan Bateman
b37e45d796 8154159: rmic should not have a supported entry point
Reviewed-by: rriggs, chegar
2016-04-18 16:18:56 +01:00
Joe Darcy
965536262b 4851642: Add fused multiply add to Java math library
Reviewed-by: bpb, nadezhin
2016-04-15 10:14:57 -07:00
Chris Hegarty
07cdc33e34 8137058: Clear out all non-Critical APIs from sun.reflect
Reviewed-by: alanb, jfranck, mchung
2016-04-15 16:19:15 +01:00
Alejandro Murillo
a1cfe0ce2d Merge 2016-04-14 19:55:41 -07:00
Daniel D. Daugherty
451af9b1b2 Merge 2016-04-14 15:25:41 -07:00
Michael Haupt
418c757b71 8150824: Exceptions when omitting trailing arguments in cleanup
The issue was fixed with the push for 8150829; this changeset adds tests.

Reviewed-by: psandoz
2016-04-14 15:18:42 +02:00
Shilpi Rastogi
284ec15fed 8150829: Enhanced drop-args, identity and default constant, varargs adjustment
Reviewed-by: psandoz, mhaupt, jrose
2016-04-13 15:48:14 +02:00
Paul Sandoz
a7aff44bbb 8151705: VarHandle.AccessMode enum names should conform to code style
Reviewed-by: mhaupt, shade, redestad
2016-04-13 15:05:48 +02:00
Michael Haupt
c304110149 8153637: MethodHandles.countedLoop/3 initialises loop counter to 1 instead of 0
Reviewed-by: psandoz, redestad
2016-04-13 09:20:22 +02:00
Alejandro Murillo
b84738d2e3 Merge 2016-04-11 14:21:27 -07:00
Paul Sandoz
6b661410d3 8152645: VarHandle lookup access control tests
Reviewed-by: mhaupt, redestad
2016-04-11 19:00:49 +02:00
Peter Levart
589c46da46 8152115: (proxy) Examine performance of dynamic proxy creation
Redesign caching of dynamic Proxy classes

Reviewed-by: mchung
2016-04-11 10:55:03 +02:00
Chris Hegarty
25b68378f6 8153737: Unsupported Module
Reviewed-by: alanb, mchung, psandoz
2016-04-09 20:12:13 +01:00
Brent Christian
74f12569ec 8153123: Streamline StackWalker code
Reviewed-by: coleenp, dfuchs, mchung, redestad
2016-04-08 12:26:47 -07:00
Daniel D. Daugherty
3115b36c77 Merge 2016-04-07 10:03:48 -07:00
Alejandro Murillo
9f3b6be989 Merge 2016-04-05 20:02:21 -07:00
Alan Bateman
4af24b6def 8153370: Drop use of old style -XaddExports from tests
Reviewed-by: mchung
2016-04-05 21:18:01 +01:00
Alejandro Murillo
e380336101 Merge 2016-03-31 14:25:38 -07:00
Daniel Fuchs
da3998f139 8150840: Add an internal system property to control the default level of System.Logger when java.logging is not present
Reviewed-by: mchung, rriggs
2016-03-25 17:12:18 +01:00
Zoltan Majo
c8858ca3b6 Merge 2016-03-24 16:21:19 +01:00
Paul Sandoz
9fb30a3740 8149644: Integrate VarHandles
Co-authored-by: Aleksey Shipilev <aleksey.shipilev@oracle.com>
Reviewed-by: coffeys, mhaupt, vlivanov
2016-03-24 11:21:21 +01:00
Jesper Wilhelmsson
d9415fe792 Merge 2016-03-23 20:14:36 +01:00
Chris Hegarty
ff2e79c118 Merge 2016-03-22 10:42:32 +00:00
Harsha Wardhana B
c33a6aa5ee 8151797: java/lang/management/ThreadMXBean/ThreadLists.java : inconsistent results
Create ThreadMXBean at the beginning of test so that call-site cleaner thread will be started

Reviewed-by: sla
2016-03-22 01:13:06 -07:00
Alan Bateman
db4d383614 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: Chris Hegarty <chris.hegarty@oracle.com>
Co-authored-by: Alexandr Scherbatiy <alexandr.scherbatiy@oracle.com>
Co-authored-by: Amy Lu <amy.lu@oracle.com>
Co-authored-by: Calvin Cheung <calvin.cheung@oracle.com>
Co-authored-by: Daniel Fuchs <daniel.fuchs@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Jaroslav Bachorik <jaroslav.bachorik@oracle.com>
Co-authored-by: Jean-Francois Denise <jean-francois.denise@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Co-authored-by: Miroslav Kos <miroslav.kos@oracle.com>
Co-authored-by: Huaming Li <huaming.li@oracle.com>
Co-authored-by: Sean Mullan <sean.mullan@oracle.com>
Co-authored-by: Naoto Sato <naoto.sato@oracle.com>
Co-authored-by: Masayoshi Okutsu <masayoshi.okutsu@oracle.com>
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Co-authored-by: Philip Race <philip.race@oracle.com>
Co-authored-by: Claes Redestad <claes.redestad@oracle.com>
Co-authored-by: Sergey Bylokhov <sergey.bylokhov@oracle.com>
Co-authored-by: Alexandre Iline <alexandre.iline@oracle.com>
Co-authored-by: Volker Simonis <volker.simonis@gmail.com>
Co-authored-by: Staffan Larsen <staffan.larsen@oracle.com>
Co-authored-by: Stuart Marks <stuart.marks@oracle.com>
Co-authored-by: Semyon Sadetsky <semyon.sadetsky@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Co-authored-by: Valerie Peng <valerie.peng@oracle.com>
Co-authored-by: Vincent Ryan <vincent.x.ryan@oracle.com>
Co-authored-by: Weijun Wang <weijun.wang@oracle.com>
Co-authored-by: Yuri Nesterenko <yuri.nesterenko@oracle.com>
Co-authored-by: Yekaterina Kantserova <yekaterina.kantserova@oracle.com>
Co-authored-by: Alexander Kulyakthin <alexander.kulyakhtin@oracle.com>
Co-authored-by: Felix Yang <felix.yang@oracle.com>
Co-authored-by: Andrei Eremeev <andrei.eremeev@oracle.com>
Co-authored-by: Frank Yuan <frank.yuan@oracle.com>
Co-authored-by: Sergei Pikalev <sergei.pikalev@oracle.com>
Co-authored-by: Sibabrata Sahoo <sibabrata.sahoo@oracle.com>
Co-authored-by: Tiantian Du <tiantian.du@oracle.com>
Co-authored-by: Sha Jiang <sha.jiang@oracle.com>
Reviewed-by: alanb, mchung, naoto, rriggs, psandoz, plevart, mullan, ascarpino, vinnie, prr, sherman, dfuchs, mhaupt
2016-03-17 19:04:16 +00:00
Alejandro Murillo
dbc5e5d48d Merge 2016-03-05 20:46:44 -08:00
Jesper Wilhelmsson
ace4ef5700 Merge 2016-03-05 10:10:20 +01:00
Markus Grönlund
b9210004c4 8151100: Test java/lang/instrument/NativeMethodPrefixAgent.java can't attempt to do CheckIntrinsics
Reviewed-by: sspitsyn, ddmitriev, egahlin
2016-03-03 12:34:55 +01:00
Alexandre Iline
519a884361 8150998: Fix module dependences in java/lang tests
Reviewed-by: mchung
2016-03-03 15:13:55 -08:00
Michael Haupt
da0ba02676 8150957: j.l.i.MethodHandles.whileLoop(...) fails with IOOBE in the case init is null, step and pred have parameters
Reviewed-by: psandoz
2016-03-03 14:29:00 +01:00
Michael Haupt
525c0c0972 8150832: split T8139885 into several tests by functionality
Reviewed-by: redestad
2016-03-02 20:36:00 +01:00
Michael Haupt
1619ac11c9 8150635: j.l.i.MethodHandles.loop(...) throws IndexOutOfBoundsException
Reviewed-by: psandoz
2016-03-02 20:16:11 +01:00
Michael Haupt
fc2641e57f 8150953: j.l.i.MethodHandles: example section in whileLoop(...) provides example for doWhileLoop
Reviewed-by: psandoz
2016-03-02 14:15:15 +01:00
Ivan Gerasimov
2c101cfb09 8149330: Capacity of StringBuilder should not get close to Integer.MAX_VALUE unless necessary
Reviewed-by: martin
2016-03-02 14:10:40 +03:00
Michael Haupt
cc3d80e38a 8151778: TestLookup.java fails after push of JDK-8150782
Reviewed-by: darcy
2016-03-14 08:10:44 +01:00
Michael Haupt
bfb7e8cd07 8150782: findClass / accessClass throw unexpected exceptions
Reviewed-by: sundar
2016-03-13 20:26:29 +01:00
Roger Riggs
c881ca81db 8150346: java/lang/ProcessHandle/InfoTest.java failed - startTime after process spawn completed
Reviewed-by: redestad, martin
2016-02-29 18:00:40 -05:00
Michael Haupt
2d20eec823 8150825: MethodHandles.tryFinally throws IndexOutOfBoundsException for non-conforming parameter lists
Reviewed-by: redestad
2016-02-29 14:16:20 +01:00
Zoltan Majo
dc8f45fc7d 8148940: java/lang/ref/FinalizeOverride.java can time out due to frequent safepointing
Reduce the freqency of triggering GCs by sleeping between GCs.

Reviewed-by: thartmann, shade
2016-02-29 07:58:45 +01:00
Amy Lu
2d281f78c4 8149920: Remove intermittent key from jdk_core tests
Reviewed-by: darcy
2016-02-18 09:50:55 +08:00
Alejandro Murillo
7e957a2913 Merge 2016-02-15 09:44:42 -08:00
Xueming Shen
0072af1be6 7071819: To support Extended Grapheme Clusters in Regex
8147531: To add named character construct \N{...} to support Unicode name property

Reviewed-by: naoto, okutsu, plevart
2016-02-12 19:24:31 -08:00
Alejandro Murillo
1c894eb9a3 Merge 2016-02-11 13:58:43 -08:00
Jesper Wilhelmsson
6939cb3b60 Merge 2016-02-11 21:07:37 +01:00
Aleksey Shipilev
7bee07b465 8149459: StringConcatFactory should be synced up with LambdaMetafactory
Reviewed-by: psandoz, vlivanov, forax
2016-02-10 16:36:25 +03:00
Kim Barrett
b4006c54e8 8072777: java/lang/ref/ReferenceEnqueuePending.java: some references aren't queued
Wait for enqueuing.

Reviewed-by: plevart, mchung
2016-02-09 18:42:07 -05:00
Max Ockner
ce29a52f2a Merge 2016-02-03 18:16:56 +01:00
Max Ockner
aedb4650c9 8079408: Reimplement TraceClassLoading, TraceClassUnloading, and TraceClassLoaderData with Unified Logging
TraceClassLoading,  TraceClassUnloading, and TraceClassLoaderData have been reimplemented using Unified logging.

Reviewed-by: iklam, coleenp, dholmes, jiangli, hseigel, rprotacio
2016-02-02 17:14:00 -05:00
Aleksey Shipilev
68d21c3b1e 8148869: StringConcatFactory MH_INLINE_SIZED_EXACT strategy does not work with -XX:-CompactStrings
Reviewed-by: vlivanov, psandoz
2016-02-03 00:49:41 +03:00
Aleksey Shipilev
454df89b32 8148787: StringConcatFactory exactness check produces bad bytecode when a non-arg concat is requested
Reviewed-by: vlivanov, psandoz
2016-02-02 18:15:15 +03:00
Alejandro Murillo
117b2fe8c0 Merge 2016-02-01 10:07:37 -08:00
Roger Riggs
98d7dc436c 8146773: java/lang/ref/CleanerTest.java CleanerTest.testRefSubtypes() fails
8148352: CleanerTest fails: Cleanable should have been freed

Relax gc timing constraints

Reviewed-by: dfuchs
2016-02-01 10:13:48 -05:00
Alejandro Murillo
b8e0f8aa93 Merge 2016-01-28 16:30:39 -08:00
Goetz Lindenmaier
32687876fa 8149529: Adapt SAP copyrights to new company name in jdk repository
Reviewed-by: simonis, chegar
2016-01-27 10:35:49 +01:00
Tobias Hartmann
7565509d93 Merge 2016-01-26 09:11:59 +01:00
Alan Bateman
3573d65040 8148147: Sync up @modules from jigsaw/jake
Reviewed-by: chegar, mchung
2016-01-25 19:01:19 +00:00
Tobias Hartmann
6af2f8f8c4 Merge 2016-01-15 09:15:33 +01:00
Alejandro Murillo
92c707e680 Merge 2016-01-14 20:57:33 -08:00
Michael Haupt
d64d6d8662 8147078: MethodHandles.catchException does not enforce Throwable subtype
Reviewed-by: psandoz, sundar
2016-01-14 13:53:13 +01:00
Roger Riggs
a937465980 8146671: [TEST BUG] java/lang/ref/CleanerTest.java required more memory for -UseCompressedOops runs
Reviewed-by: joehw
2016-01-12 17:54:09 -05:00
Alejandro Murillo
70a4694f73 Merge 2016-01-12 11:31:48 -08:00
Christian Thalinger
012f69ce01 Merge 2016-01-11 17:12:01 -08:00
Michael Haupt
60015e143f 8146786: [TESTBUG] straighten out testability for several issues
Reviewed-by: psandoz
2016-01-11 17:19:16 +01:00
Roger Riggs
5f559c6d31 8146028: Common Cleaner for finalization replacements in OpenJDK
Reviewed-by: dfuchs, alanb, chegar, plevart
2016-01-11 10:03:36 -05:00
Vivek Deshpande
158a883681 8143353: update for x86 sin and cos in the math lib
Optimize Math.sin() and cos() for 64 and 32 bit X86 architecture using Intel LIBM  implementation.

Reviewed-by: kvn
2016-01-08 20:33:02 -08:00
Brent Christian
a75216a09c 8144552: java/lang/StackWalker/LocalsAndOperands.java fails with java.lang.NullPointerException
Update test case to expect null

Reviewed-by: mchung, dfuchs
2016-01-08 13:14:30 -08:00
Joseph Provino
32ec535805 Merge 2016-01-07 20:06:51 +00:00
Roger Riggs
92ce70dc03 8146574: (process) ProcessHandle test cleanup
Reviewed-by: chegar
2016-01-07 10:10:06 -05:00
Tobias Hartmann
cdd6aa5d50 Merge 2016-01-06 08:02:24 +01:00
Alejandro Murillo
8f53087d6e Merge 2016-01-05 13:08:05 -08:00
Joseph Provino
a02ddb869a Merge 2016-01-01 17:08:24 +00:00
Kim Barrett
08dadf3015 8071507: (ref) Clear phantom reference as soft and weak references do
GC clears phantom refs on notification; update spec accordingly.

Reviewed-by: mchung, jmasa
2015-12-28 14:03:39 -05:00
Christian Thalinger
32aff4400c Merge 2015-12-22 13:41:12 -08:00
Christian Thalinger
48e2ec8057 Merge 2015-12-18 10:00:55 -08:00
Alejandro Murillo
a14aea12fc Merge 2015-12-18 09:37:18 -08:00
Roger Riggs
042d41828f 8146012: CleanerTest fails: Cleanable should have been freed
Simplify cleanables being called and use WhiteBox to trigger GC

Reviewed-by: chegar
2015-12-22 14:12:55 -05:00
Roger Riggs
aebd8a6c32 8136597: java/lang/ProcessHandle/InfoTest.java fails
Correct for truncated command line

Reviewed-by: redestad
2015-12-21 15:26:56 -05:00
Roger Riggs
197207b152 8138696: java.lang.ref.Cleaner - an easy to use alternative to finalization
Reviewed-by: mchung, mr, chegar, plevart, kbarrett, dholmes
2015-12-21 11:34:14 -05:00
Daniel Fuchs
72bed9c5df 8145686: SimpleConsoleLogger and LogRecord should take advantage of StackWalker to skip classes implementing System.Logger
Methods defined on classes implementing System.Logger will be skipped when looking for the calling method.

Reviewed-by: mchung
2015-12-21 13:30:58 +01:00
Chris Hegarty
355dac1a4c 8056152: API to create Threads that do not inherit inheritable thread-local initial values
Reviewed-by: alanb, dholmes, mchung, mr, rriggs
2015-12-18 16:06:24 +00:00
Chris Hegarty
aa0ef2e9f5 8145544: Move sun.misc.VM to jdk.internal.misc
Reviewed-by: alanb, mullan, weijun
2016-01-06 10:01:44 +00:00
Mandy Chung
d80160da67 8144553: java/lang/StackWalker/StackWalkTest.java and MultiThreadStackWalk.java fail with stack overflows
Reviewed-by: dfuchs
2015-12-17 09:39:21 -08:00
Joel Borggrén-Franck
5c29ca104e 8057804: AnnotatedType interfaces provide no way to get annotations on owner type
Reviewed-by: darcy, redestad
2015-12-16 20:00:03 +01:00
Chris Hegarty
6853999d56 8145416: Move sun.misc.ProxyGenerator to java.lang.reflect
Reviewed-by: alanb, mchung, rriggs
2015-12-16 08:42:00 +00:00
Michael Haupt
03e64cef7b 8143343: add JEP 274 Javadoc tests to JavaDocExamplesTest
Reviewed-by: sundar
2015-12-03 15:36:20 +01:00
Hamlin Li
b3fa048050 8144460: Improve the code coverage for BootstrapLogger and SimpleConsoleLogger APIs and verify bug fix JDK-8144214
Cover the logXX and LogEvent.valueOf APIs of BootstrapLogger and logXX APIs of SimpleConsoleLogger

Reviewed-by: dfuchs
2015-12-02 19:46:46 -08:00
Roger Riggs
bdca5d5f82 8143876: test/java/lang/ProcessHandle/TreeTest.java failed intermittently with assertion error
The parent pid may be re-used, check that the child was started after the parent

Reviewed-by: darcy
2015-12-02 09:40:14 -05:00