Commit Graph

979 Commits

Author SHA1 Message Date
Mandy Chung
671d12ce6b 8169909: java agent fails to add to class path when the initial module is a named module
Reviewed-by: alanb
2016-11-20 07:57:57 -08:00
Jesper Wilhelmsson
5140309cac Merge 2016-11-09 13:37:19 +01:00
Mandy Chung
5fb366ed4f 8169231: Fix tests to add @compile --add-modules to workaround jtreg bug
Reviewed-by: jjg
2016-11-04 15:49:31 -07:00
Mandy Chung
d74e2a09ac 6479237: (cl) Add support for classloader names
Reviewed-by: alanb, bchristi, coleenp, dfuchs, lfoltan, psandoz, sspitsyn
2016-11-03 18:08:28 -07:00
Ivan Gerasimov
d86b93b397 8168921: Inconsistent Annotation.toString()
Reviewed-by: darcy, redestad
2016-11-02 20:53:56 +03:00
Paul Sandoz
1730680ce7 8167974: MethodHandles.iteratedLoop(...) fails with CCE in the case of iterating over array
8167966: MethodHandles.iteratedLoop fails with IAE in the case of correct arguments

Reviewed-by: redestad
2016-11-01 17:29:48 -07:00
Roger Riggs
9e7023e2a9 8168517: java/lang/ProcessBuilder/Basic.java failed
Reviewed-by: dholmes
2016-10-31 13:57:28 -04:00
Daniel Fuchs
53cbda2d85 8163162: The separation between system loggers and application loggers should take the extension loader in consideration
DefaultLoggerFinder.isSystem is changed to return 'true' for classes loaded from the platform loader and its ancestors. This means that classes loaded by the platform loader will get exactly the same kind of loggers than classes loaded by the boot (null) loader.

Reviewed-by: rriggs, mchung
2016-10-28 12:10:12 +01:00
Alan Bateman
83df093985 8168789: ModuleReader.list and ModuleFinder.of update
Reviewed-by: mchung
2016-10-28 10:18:07 +01:00
Alejandro Murillo
cb0a755549 Merge 2016-10-25 14:55:29 -07:00
Brent Christian
1552f3ddbb 8165793: Provide an API to query if a ClassLoader is parallel capable
Reviewed-by: alanb, mchung
2016-10-25 12:58:34 -07:00
Alejandro Murillo
ae7aae8464 Merge 2016-10-20 16:54:00 -07:00
Chris Plummer
42c24a144c 8167001: [TESTBUG] java/lang/instrument/DaemonThread/TestDaemonThread.java fails when run by jprt
Force classpath to be added to subprocesses

Reviewed-by: dholmes, sspitsyn
2016-10-18 12:36:20 -07:00
Alexander Kulyakhtin
302ec8438f 8158797: Test java/lang/management/MemoryMXBean/LowMemoryTest.java fails when GC is specified explicitly
Fixed GC options for running the test

Reviewed-by: ddmitriev, sspitsyn
2016-10-17 15:46:28 +03:00
Paul Sandoz
29871f6f8a 8166974: invokedynamic implementation should not wrap Errors
Reviewed-by: smarks, jrose
2016-10-14 14:47:27 -07:00
Amit Sapre
6e7ec59861 8151099: java.lang.management.ManagementFactory.getPlatformMXBeans() should work even if jdk.management is not present
Removed dependency of java.management over jdk.management.

Reviewed-by: mchung, dfuchs, dholmes
2016-10-26 15:08:29 +05:30
Mandy Chung
44a7c1b644 8164689: Retrofit jar, jlink, jmod as a ToolProvider
Reviewed-by: alanb, lancea
2016-10-12 15:41:00 -07:00
Brent Christian
2d52d60a1e 8151486: Class.forName causes memory leak
Remove ClassLoader.domains

Reviewed-by: coleenp, dholmes, mchung, naoto
2016-10-07 12:01:24 -07:00
Alejandro Murillo
53fa6ff273 Merge 2016-09-30 02:52:42 -07:00
Michael Haupt
cec7bce69f 8151179: address issues raised by JCK team on JEP 274 API
Reviewed-by: jrose, redestad, psandoz
2016-09-28 14:02:21 +02:00
Dean Long
fca8d47eff Merge 2016-09-26 14:21:22 -04:00
Michael Haupt
281862a6aa 8161211: better inlining support for loop bytecode intrinsics
Reviewed-by: jrose, vlivanov, redestad
2016-09-23 15:20:49 +02:00
Chris Plummer
7f563f1567 8161225: Assert failure in JVMTI GetNamedModule at JPLISAgent.c line: 792
Made the assert less restrictive.

Reviewed-by: dholmes, dcubed, sspitsyn
2016-09-21 12:53:07 -07:00
Dean Long
14ca581abf Merge 2016-09-20 16:34:47 -04:00
Alejandro Murillo
af75db6517 Merge 2016-09-16 10:57:21 -07:00
Mandy Chung
6f740b0d0f 8157464: Disallow StackWalker.getCallerClass() be called by caller-sensitive method
Reviewed-by: bchristi, coleenp, dfuchs, sspitsyn
2016-09-14 11:53:36 -07:00
Alejandro Murillo
b2e658b722 Merge 2016-09-14 11:22:39 -07:00
Serguei Spitsyn
bdbd71b1ea Merge 2016-09-12 22:04:48 +00:00
Serguei Spitsyn
02944f968d 8160950: Agent JAR added to app class loader rather than system class loader when running with -Djava.system.class.loader
Add agent JAR to the custom system class loader

Reviewed-by: alanb, mchung, dholmes
2016-09-12 15:00:58 -07:00
Alejandro Murillo
1808257845 Merge 2016-09-10 12:23:52 -07:00
Alejandro Murillo
8957d8798f Merge 2016-09-10 12:18:34 -07:00
Patrick Reinhart
5deb28b6a1 8161230: ClassLoader: add resource methods returning java.util.stream.Stream
Reviewed-by: psandoz, alanb, mchung, tvaleev
2016-09-09 14:54:41 -07:00
Mandy Chung
397525a2d4 8165346: j.l.ClassLoader.getDefinedPackage(String) throws NPE
Reviewed-by: alanb, lancea, shade
2016-09-09 13:44:48 -07:00
Alexander Kulyakhtin
795272dc75 8139368: -javaagent and -Dcom.sun.management need to add to the initial set of modules to resolve
A new test for the -javaagent option

Reviewed-by: mchung, alanb
2016-09-09 15:16:22 +03:00
Vyom Tewari
ea13eb2b06 8152589: java/lang/management/ThreadMXBean/Locks.java fails intermittently, blocked on wrong object
Reviewed-by: dholmes, dcubed
2016-09-08 15:00:39 +05:30
Harold Seigel
6f8c0a7193 8058575: IllegalAccessError trying to access package-private class from VM anonymous class
Put anonymous classes in unnamed package into host class's package.  Throw exception if host class's package differs from anonymous class.

Reviewed-by: coleenp, acorn
2016-09-07 07:21:43 -04:00
Andrey Dyachkov
6d3b1a78ad 8155102: (Process) Process.toString could include pid, isAlive, exitStatus
Reviewed-by: rriggs
2016-09-02 12:30:46 -04:00
Paul Sandoz
3bd5ebe2ef 8162108: Rename weakCompareAndSetVolatile to weakCompareAndSet
Reviewed-by: martin
2016-09-01 13:56:13 -07:00
Paul Sandoz
c073edc24c 8162106: Remove VarHandle.addAndGet
Reviewed-by: shade, redestad
2016-09-01 10:17:01 -07:00
Paul Sandoz
82d48917bb 8161444: VarHandles should provide access bitwise atomics
8162107: Add acquire/release variants for getAndSet and getAndAdd

Reviewed-by: shade, redestad
2016-09-01 10:16:57 -07:00
Alejandro Murillo
f2099ceae0 Merge 2016-08-31 13:50:02 -07:00
Alexandre Iline
3ff1d554b4 8164982: Fix legal notices in java/lang, java/net, java/util tests
Reviewed-by: darcy, iris
2016-08-31 09:46:50 -07:00
Alejandro Murillo
44fb1c5f24 Merge 2016-08-31 09:22:54 -07:00
Amy Lu
5c73d79296 8163934: Remove intermittent key from java/lang/ProcessBuilder/Zombies.java
Reviewed-by: darcy
2016-08-30 09:31:28 +08:00
Vivek Deshpande
1a188cf07a 8154122: Intrinsify fused mac operations
Added FMA intrinsics on x86

Reviewed-by: kvn, aph, darcy
2016-08-26 12:20:09 -07:00
Alejandro Murillo
542ac8a147 Merge 2016-08-26 10:02:50 -07:00
Robbin Ehn
001e52768a 8158628: test/java/lang/instrument/NativeMethodPrefixAgent.java: Error occurred during initialization of VM: Failed to start tracing backend
Reviewed-by: sla, gtriantafill
2016-08-24 20:51:37 +02:00
Robbin Ehn
dcb6b6c2e6 8164208: Update tests with redefine classes UL options and tags​
Reviewed-by: coleenp, gtriantafill
2016-08-24 20:38:22 +02:00
Claes Redestad
60754ca0fb 8164569: Generate non-customized invoker forms at link time
Reviewed-by: vlivanov
2016-08-24 16:11:21 +02:00
Christian Tornqvist
a5637c9afa 8164520: java/lang/ProcessHandle/Basic.java is missing @library tag
Reviewed-by: coleenp
2016-08-20 09:36:35 -04:00