48548 Commits

Author SHA1 Message Date
Rickard Bäckman
6f1c27a2c9 8191915: JCK tests produce incorrect results with C2
Reviewed-by: thartmann, vlivanov, goetz
2018-01-18 19:21:11 +01:00
Kim Barrett
2d847b1eb6 8195690: JNI GetObjectRefType doesn't handle NULL
Properly handle NULL, add some non-NULL preconditions.

Reviewed-by: dholmes, mdoerr
2018-01-23 14:27:10 -05:00
Goetz Lindenmaier
490d2ce747 8195776: [x86,sparc] A row of minor fixes and enhancements
Reviewed-by: kvn
2018-01-19 17:01:34 +01:00
Martin Doerr
0ddc8c6900 8195691: AIX build broken after 8194312
Reviewed-by: kbarrett, goetz
2018-01-22 12:04:12 +01:00
Igor Veresov
c139d774ba 8194669: jaotc truncates the invalid filename provided to --output
Do not skip the first character of the linker output

Reviewed-by: kvn
2018-01-23 08:18:36 -08:00
Marcus Larsson
8ccf366ee6 8170941: Executing gtest with invalid -Xlog argument crashes gtestLauncher
Reviewed-by: rehn, stuefe
2018-01-23 08:55:47 +01:00
Egor Ushakov
25515e11c8 8194143: remove unneeded casts in LocationImpl and MirrorImpl classes
Remove unneeded casts in LocationImpl and MirrorImpl classes

Reviewed-by: sspitsyn, dholmes
2018-01-22 14:14:26 -08:00
Bob Vandette
23d7131895 Merge 2018-01-22 15:29:59 -05:00
Bob Vandette
0b97a1bcbe 8193710: jcmd -l and jps commands do not list Java processes running in Docker containers
Reviewed-by: mchung, dholmes, cjplummer
2018-01-22 15:05:03 -05:00
Harold Seigel
97d777c85f Merge 2018-01-22 14:08:20 -05:00
Harold Seigel
e52d643ff5 8194086: Remove deprecated experimental flag UseCGroupMemoryLimitForHeap
Remove the option and the code that checks for it.

Reviewed-by: dholmes, lfoltan
2018-01-22 14:04:07 -05:00
Andrew Haley
a738a4c053 8195685: AArch64: AArch64 cannot build with JDK-8174962
Reviewed-by: adinn, njian
2018-01-19 16:57:56 +00:00
Ningsheng Jian
1a25bbdf0f 8195588: AArch64: Codegen fix after JDK-8194256
Update shift constant usage to align with the assembler change.

Reviewed-by: aph
2018-01-17 13:21:38 +08:00
Igor Ignatyev
a400b9417f 8195729: compiler.aot.AotCompiler should be run as a driver
Reviewed-by: kvn, mseledtsov
2018-01-18 16:57:54 -08:00
Igor Ignatyev
fff718badb 8195724: compiler.calls.common.InvokeDynamicPatcher can be run as driver
Reviewed-by: kvn
2018-01-18 16:57:51 -08:00
Ioi Lam
a3cb6e9204 8178351: Simplify MetaspaceShared::is_in_shared_space and MetaspaceObj::is_shared
Use a single range check with MetaspaceObj::_shared_metaspace_{base,top}

Reviewed-by: jiangli, redestad, shade
2018-01-16 16:57:53 -08:00
Eric Caspole
dcb4e73a38 8195064: LogCompilation: Chicken and egg startup problem with types
Removed extra null check that was causing the problem

Reviewed-by: thartmann, kvn
2018-01-18 16:37:43 -05:00
Tom Rodriguez
99725d3ea6 8192004: InspectedFrame.materializeVirtualObjects only updates locals with new objects
Reviewed-by: kvn, sspitsyn, phh
2018-01-18 09:01:00 -08:00
Igor Ignatyev
71a40bce38 8186635: ClassFileInstaller should be run as a driver
Reviewed-by: dholmes
2018-01-17 21:44:44 -08:00
Daniil Titov
20dfdc0720 8153629: Need to cover JVMTI's GetOwnedMonitorStackDepthInfo function
Reviewed-by: sspitsyn, cjplummer
2018-01-17 16:49:43 -08:00
Gerard Ziemski
c43b98c1ff 8194831: [TESTBUG] Test runtime/CommandLine/OptionsValidation/TestOptionsWithRanges.java misleading error message
Only show the actual GC used in the error message. Show exit status in hex as well as decimal.

Reviewed-by: dholmes
2018-01-17 13:39:07 -06:00
Alex Menkov
7c6a67a268 8187447: 2081 doc issues in jvmti.html
Reviewed-by: sspitsyn, dtitov
2018-01-17 09:43:14 -08:00
Kim Barrett
e1356ec6cf 8194312: Support parallel and concurrent JNI global handle processing
Add OopStorage, change JNI gloabl/weak to use OopStorage.

Reviewed-by: coleenp, sspitsyn, eosterlund
2017-11-21 09:47:55 -05:00
Jesper Wilhelmsson
3c2e5acfce Merge 2018-01-13 02:56:22 +01:00
Erik Österlund
027d478e6d 8195107: CDS broken due to 8194741
Reviewed-by: coleenp
2018-01-15 15:18:27 +01:00
Igor Ignatyev
4825756a2b 8195067: problem list tools/javac/jvm/VerboseOutTest.java
Reviewed-by: jjg
2018-01-12 14:33:00 -08:00
Xueming Shen
b69a95d78d 8194667: Regex: Serialization doesn't work with match flags
Reviewed-by: rriggs
2018-01-12 14:05:42 -08:00
Erik Österlund
3a7a71981a 8194741: Refactor oops in constant pool from CDS to use the Access API
Reviewed-by: coleenp, jiangli
2018-01-10 22:43:42 +01:00
Per Lidén
27cf4b91d1 8195000: Remove unused left-overs in arguments.hpp
Reviewed-by: stefank
2018-01-12 16:19:56 +01:00
Stefan Karlsson
e8a8207852 8194925: NMT: SummarySanityCheck test can't parse values > max_jint
Reviewed-by: shade, zgu
2018-01-12 13:56:05 +01:00
Erik Österlund
af5670373e 8194736: Refactor weak oops in ProtectionDomain table to use the Access API
Reviewed-by: coleenp, pliden
2018-01-10 22:40:47 +01:00
Coleen Phillimore
ca1e762c1f Merge 2018-01-11 21:49:51 -05:00
Daniel Stewart
99cb8d9af1 8194762: JTReg failure of "runtime/NMT/PrintNMTStatistics.java"
Reviewed-by: dholmes, zgu
2018-01-11 20:25:13 -05:00
Coleen Phillimore
1c41d1d3e0 8130039: Move the platform-specific [OS]Semaphore code
8130038: Unify the semaphore usage in os_xxx.cpp
8194763: os::signal_lookup is unused

Reviewed-by: dholmes, kbarrett
2018-01-11 18:42:36 -05:00
Thomas Schatzl
b0e4bce398 8129440: G1 crash during concurrent root region scan
Make concurrent memory accesses to oops on the heap volatile to avoid reloading by the compiler duplicating oop loading code.

Reviewed-by: ehelin, eosterlund
2018-01-11 11:28:51 +01:00
Thomas Schatzl
3be36b20e4 8180280: [TESTBUG] Test for JDK-8180048
Add test at is executed only at higher tiers to allow more time for execution.

Reviewed-by: kbarrett, eosterlund
2018-01-11 11:05:17 +01:00
Thomas Schatzl
6e9f44c74c 8137099: G1 needs to "upgrade" GC within the safepoint if it can't allocate during that safepoint to avoid OoME
During a minor GC, if memory allocation fails, start a full GC within the same VM operation in the same safepoint. This avoids a race where the GC locker can prevent the full GC from occurring, and a premature OoME.

Co-authored-by: Axel Siebenborn <axel.siebenborn@sap.com>
Reviewed-by: ehelin, sjohanss, phh
2018-01-11 10:40:01 +01:00
Jini George
906712e7c8 8193352: SA: Test for the clhsdb 'thread' and 'threads' commands
Test for the clhsdb 'thread' and 'threads' commands. Avoids an incorrect 'Couldn't find thread -a' being printed.

Reviewed-by: sspitsyn, sballal
2018-01-11 11:35:35 +05:30
Gary Adams
00993afe1a 6640188: Methods com.cun.attach.VirtualMachine.load... don't throw NullPointerxception
Reviewed-by: sspitsyn
2018-01-09 13:58:30 -05:00
Erik Österlund
c5f5601b1c 8193063: Enabling narrowOop values for RawAccess accesses
Reviewed-by: pliden, kbarrett
2018-01-10 18:04:56 +01:00
Thomas Schatzl
1cf8169a2e 8194824: Add gc/stress/gclocker/TestGCLockerWithParallel.java to the ProblemList file
Reviewed-by: ehelin, kbarrett
2018-01-10 10:21:25 +01:00
Goetz Lindenmaier
8379d6995a 8194814: [ppc, s390] A row of minor fixes and cleanups
Fix the data types of pd flags.

Reviewed-by: mdoerr
2018-01-09 08:38:22 +01:00
Jesper Wilhelmsson
fb8bca78ee Merge 2018-01-05 22:02:20 +01:00
Brian Burkhalter
49beab63c8 4358774: Add null InputStream and OutputStream
Reviewed-by: alanb, prappo, reinhapa, rriggs
2018-01-12 11:06:24 -08:00
Brian Burkhalter
473e36a9f3 8165852: (fs) Mount point not found for a file which is present in overlayfs
Check /proc/mounts when the device ID boundary is reached

Reviewed-by: alanb
2018-01-12 11:06:22 -08:00
Maurizio Cimadamore
989b326949 8194932: no ambuguity error is emitted if classfile contains two identical methods with different return types
Add recovery logic when classfile contains two signature-equivalent methods

Reviewed-by: jlahoda, vromero
2018-01-12 16:49:58 +00:00
Priya Lakshmi Muthuswamy
f815c509cf 8157251: BeanLinker relinks array length operations for array types
Reviewed-by: hannesw, jlaskey, attila
2018-01-12 10:33:06 +01:00
Jonathan Gibbons
a34fdd1809 8194893: javac -verbose prints wrong paths for output files
Reviewed-by: vromero
2018-01-11 15:06:55 -08:00
Jonathan Gibbons
5edc13c005 8151850: eliminate javax.tools.FileManagerUtils
Reviewed-by: vromero
2018-01-11 13:47:11 -08:00
Naoto Sato
c025944b69 8194148: bcp47u/SymbolsTests.java and FormatTests.java fail on th_TH locale
Reviewed-by: rriggs
2018-01-11 12:47:28 -08:00