Commit Graph

24873 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Vinnie Ryan
143cb6a2d2 8181670: Improve implementation of keystores
Reviewed-by: mullan
2017-09-05 15:53:33 +01:00
Vinnie Ryan
de7e845521 8178449: Improve LDAP logins
Reviewed-by: mullan, asmotrak
2017-09-04 19:33:44 +01:00
Volker Simonis
a5d5806cb4 8166317: InterpreterCodeSize should be computed
Reviewed-by: kvn, coleenp
2017-09-04 19:50:01 +02:00
Roman Kennke
7030019135 8171853: Remove Shark compiler
Reviewed-by: dholmes, kvn, erikj, ihse
2017-10-15 22:54:03 +02:00
Roland Westrelin
50c759f20e 8188223: IfNode::range_check_trap_proj() should handler dying subgraph with single if proj
Reviewed-by: kvn
2017-10-18 16:06:39 +02:00
Harold Seigel
bbd0fa6b1a Merge 2017-10-23 14:57:05 +00:00
Harold Seigel
99bf982432 8174954: Parameter target type is allowed access after a module read edge or a package export has occurred after failed resolution
Store resolution exception in resolution_error table and set flag in cpCache indicating resolution failed.

Reviewed-by: acorn, jrose, dholmes, lfoltan
2017-10-23 10:42:26 -04:00
Roman Kennke
c496c05376 8184914: Use MacroAssembler::cmpoop() consistently when comparing heap objects
Reviewed-by: coleenp
2017-10-23 09:33:14 -04:00
Thomas Schatzl
6787fc889f Merge 2017-10-23 10:45:07 +00:00
Stefan Karlsson
cdb1658123 Merge 2017-10-23 10:44:02 +00:00
Lutz Schmidt
0d6c0adef0 8189616: [s390] Remove definition and all uses of STCK instruction
Reviewed-by: mdoerr
2017-10-23 11:56:30 +02:00
Thomas Schatzl
be94d0ee28 8189729: Change _perc suffixes in identifiers to _percent
Reviewed-by: sjohanss, ehelin
2017-10-23 11:46:54 +02:00
Thomas Schatzl
824e776c37 8189665: Change id parameter of G1ConcurrentMark::task() to uint
Reviewed-by: sangheki, sjohanss
2017-10-23 11:46:38 +02:00
Thomas Schatzl
793aa8d8ce 8189666: Replace various inlined percentage calculations with global percent_of()
Reviewed-by: sjohanss, sangheki
2017-10-23 11:46:25 +02:00
Thomas Schatzl
0757704af2 8184667: Clean up G1ConcurrentMark files
Fix naming, formatting, access control, remove unused code.

Reviewed-by: sjohanss, pliden
2017-10-23 11:46:12 +02:00
Stefan Karlsson
d129d1cdf2 8189748: More precise closures for WeakProcessor::weak_oops_do calls
Reviewed-by: pliden, sjohanss
2017-10-23 11:20:53 +02:00
David Holmes
817d6bc039 8189776: Remove dead code in jvm.cpp: force_verify_field_access
Reviewed-by: redestad
2017-10-23 03:15:19 -04:00
Ioi Lam
41796c1066 8185160: -XX:DumpLoadedClassList omits graal classes
Reviewed-by: jiangli, dholmes, lfoltan
2017-10-21 15:15:46 -07:00
Jesper Wilhelmsson
a9f136ec2e Merge 2017-10-22 00:10:29 +02:00
Serguei Spitsyn
ba7368fbd6 Merge 2017-10-21 00:06:50 +00:00
Jesper Wilhelmsson
291e5e159d Merge 2017-10-21 01:23:52 +02:00
Yasumasa Suenaga
c4706f598d 8151815: Could not parse core image with JSnap
Reviewed-by: dholmes, sspitsyn
2017-10-21 07:00:23 +09:00
Dean Long
e7270b8965 8132547: [AOT] support invokedynamic instructions
Reviewed-by: iveresov, kvn
2017-10-19 19:23:48 -07:00
Serguei Spitsyn
90b611adc6 8175510: Null pointer dereference in getModuleObject of JPLISAgent.c:790
Check for NULL pointer return from malloc

Reviewed-by: dholmes, cjplummer
2017-10-18 13:52:32 -07:00
Dean Long
8db461922a 8187438: Update Graal
Reviewed-by: kvn
2017-10-11 17:11:28 -07:00
Yasumasa Suenaga
ccbf029d2b 8189069: regression after push of 8187403: "AssertionFailure: addr should be OopHandle"
Reviewed-by: sspitsyn, jgeorge
2017-10-11 23:29:24 +09:00
Goetz Lindenmaier
963e8da9b7 8185712: [windows] Improve native symbol decoder
Reviewed-by: goetz, iklam, zgu
2017-09-20 15:12:11 +02:00
Leo Korinth
41e6dbe988 8149137: Remove _DISABLE_MMU define from G1MMUTracker
Reviewed-by: ehelin, sjohanss
2017-10-19 14:36:40 +02:00
David Holmes
1f5def259c Merge 2017-10-20 01:40:08 +00:00
Roman Kennke
82fcfbfbc4 8189373: jmap -heap exited with error code
Add CMSHeap related bits to SA code

Reviewed-by: dholmes, jgeorge
2017-10-19 20:48:31 -04:00
Mandy Chung
7344b46c71 8189193: FindClass should only see classes from the boot loader called from its associated native library
Reviewed-by: coleenp, dholmes
2017-10-19 17:27:34 -07:00
Magnus Ihse Bursie
da4336daaf Merge 2017-10-19 14:15:06 +02:00
Magnus Ihse Bursie
7c78b40f8d 8189608: Remove duplicated jni.h
Reviewed-by: erikj, dholmes, coleenp
2017-10-19 11:59:52 +02:00
Erik Österlund
29eea5d4a1 8189355: Cleanup of BarrierSet barrier functions
Reviewed-by: shade, kbarrett, pliden, rkennke
2017-10-19 11:25:55 +02:00
Sangheon Kim
9c5e52d73d 8189390: Assert in TestOptionsWithRanges.java
Reinstate error handling in CMS heap creation code

Reviewed-by: stefank, sangheki
2017-10-18 19:36:17 -07:00
Coleen Phillimore
0f59a22e54 Merge 2017-10-18 23:21:37 +00:00
Coleen Phillimore
76410d082e Merge 2017-10-18 23:02:35 +00:00
Yasumasa Suenaga
f778dfd81a 8087291: InitialBootClassLoaderMetaspaceSize and CompressedClassSpaceSize should be checked consistent from MaxMetaspaceSize
Reviewed-by: coleenp, hseigel
2017-10-18 18:49:54 -04:00
Serguei Spitsyn
85d98da27d Merge 2017-10-18 22:10:28 +00:00
Stefan Karlsson
7a5e525604 Merge 2017-10-18 21:06:31 +00:00
Serguei Spitsyn
f0a6c87e29 Merge 2017-10-18 21:05:09 +00:00
Roman Kennke
9ba22876cf 8189276: Make SuspendibleThreadSet and related code available to other GCs
Reviewed-by: zgu, coleenp
2017-10-18 21:17:46 +02:00
Stefan Karlsson
6e571871e6 8189360: JvmtiExport::weak_oops_do is called for all JNIHandleBlock instances
Reviewed-by: pliden, kbarrett, sspitsyn
2017-10-18 21:15:01 +02:00
Stefan Karlsson
3fbc4aec64 8189359: Move native weak oops cleaning out of ReferenceProcessor
Reviewed-by: pliden, kbarrett
2017-10-18 21:13:35 +02:00
Magnus Ihse Bursie
250160bf99 8189607: Remove duplicated jvmticmlr.h
Reviewed-by: sspitsyn, dholmes, erikj
2017-10-18 14:31:10 +02:00
Erik Helin
b5dd6a9a45 8187578: BitMap::reallocate should check if old_map is NULL
Reviewed-by: stefank, eosterlund, dholmes
2017-09-15 14:47:13 +02:00
Calvin Cheung
449114a4f6 8185694: Replace SystemDictionaryShared::_java_platform_loader with SystemDictionary::is_platform_class_loader()
Added the creation of _java_platform_loader

Reviewed-by: iklam, coleenp, mchung, dholmes, jiangli
2017-10-10 14:38:56 -07:00
Mandy Chung
4c1297b778 8188052: JNI FindClass needs to specify the class loading context used for library lifecycle hooks
Reviewed-by: alanb, coleenp, dholmes
2017-10-10 11:52:42 -07:00
Jesper Wilhelmsson
42a29333b9 Merge 2017-10-10 16:29:04 +02:00
Erik Österlund
bf5816a2c5 8188813: Generalize OrderAccess to use templates
Reviewed-by: dholmes, coleenp
2017-10-09 14:39:59 +02:00
Martin Doerr
21ee7f4b2a 8188868: PPC64: Support AES intrinsics on Big Endian
Reviewed-by: goetz
2017-10-09 13:56:59 +02:00
Lutz Schmidt
ccbba3fe48 8188857: [s390]: CPU feature detection incomplete
Reviewed-by: mdoerr
2017-10-09 11:51:20 +02:00
Lutz Schmidt
75a4bdf218 8187964: [s390][ppc]: Intrinsify Math.multiplyHigh(long, long)
Reviewed-by: mdoerr
2017-10-09 11:43:42 +02:00
David Holmes
b8a270598e Merge 2017-10-09 08:15:25 +00:00
Serguei Spitsyn
70bbf43808 Merge 2017-10-09 07:08:53 +00:00
David Holmes
2d8670326d 8185529: JCK api/java_lang/Object/WaitTests failed with jdk10/hs nightly
Reviewed-by: dcubed, ccheung
2017-10-09 01:23:13 -04:00
Yasumasa Suenaga
72ef94f770 8187403: [Unknown generation] is shown in Stack Memory on HSDB
Reviewed-by: sspitsyn, jgeorge
2017-10-07 22:45:12 +09:00
Yasumasa Suenaga
b1a725dff0 8187401: Java Stack cannot be shown on HSDB
Reviewed-by: sspitsyn, jgeorge
2017-10-07 22:42:35 +09:00
Zhengyu Gu
0d8679e178 8187685: NMT: Tracking compiler memory usage of thread's resource area
Bias compiler thread's resource area to mtCompiler

Reviewed-by: kvn, coleenp
2017-10-06 22:40:31 -04:00
Jiangli Zhou
3ccd60110d 8174986: CDS archived java heap region may not compatible with AOT
Always uses LogKlassAlignmentInBytes for narrow_klass_shift when CDS is enabled.

Reviewed-by: iklam, ccheung
2017-10-06 19:33:27 -04:00
Coleen Phillimore
91d649724b Merge 2017-10-06 18:50:04 +00:00
Coleen Phillimore
fd85805dc0 8178870: instrumentation.retransformClasses cause coredump
Don't double-free cached class bytes on redefinition loading failure.

Reviewed-by: sspitsyn, jiangli
2017-10-06 14:30:04 -04:00
Vladimir Kozlov
0c224245ce 8188775: Module jdk.internal.vm.compiler.management has not been granted accessClassInPackage.org.graalvm.compiler.hotspot
Add missed changes in default.policy for new module

Reviewed-by: mchung
2017-10-06 10:39:09 -07:00
Maurizio Cimadamore
9f2615c4de 8172443: Change use of tree.pos to line:col in rawDiagnostics
Generate more stable raw diagnostic position for functional expression AST diag arguments

Reviewed-by: jjg, vromero
2017-10-05 18:29:47 +01:00
Bernard Blaser
2115af4897 8063054: Incorrect raw type warning for method reference
Spurious raw types warnings generated for unbound method references

Reviewed-by: jlahoda
2017-10-05 12:19:23 +01:00
Michihiro Horie
36dec9793d 8188802: PPC64: Failure on assert(lrgmask.is_aligned_sets(RegMask::SlotsPerVecX))
Reviewed-by: mdoerr
2017-10-05 12:56:42 +02:00
Erik Österlund
b6bc02e70f 8188224: Generalize Atomic::load/store to use templates
Reviewed-by: dholmes, coleenp
2017-10-05 10:55:34 +02:00
Ujwal Vangapally
96d0817455 8185003: JMX: Add a version of ThreadMXBean.dumpAllThreads with a maxDepth argument
Added two new API's to limit the stack trace depth

Reviewed-by: mchung, dfuchs, rriggs, egahlin
2017-10-05 01:31:53 -07:00
Joe Wang
9abc252e51 8187593: Cleanup: removing SecuritySupport files
Reviewed-by: lancea
2017-10-04 10:54:18 -07:00
Ivan Gerasimov
9c1b0103b3 8186654: Poor quality of sun.security.util.Cache.EqualByteArray.hashCode()
Reviewed-by: coffeys
2017-10-04 01:08:36 -07:00
Ivan Gerasimov
4560687884 8187658: Bigger buffer for GetAdaptersAddresses
Reviewed-by: rriggs, vtewari
2017-10-03 23:42:08 -07:00
Mandy Chung
f2c8c8aa02 8188321: (jdeps) help message should say "requires transitive" rather than "requires public"
Reviewed-by: sundar
2017-10-03 19:27:07 -07:00
Doug Lea
c3664b7f38 8186056: Miscellaneous changes imported from jsr166 CVS 2017-09
Reviewed-by: martin, psandoz
2017-10-03 14:00:00 -07:00
Charles Munger
229cce5f44 8186265: Make toString() methods of "task" objects more useful
Reviewed-by: martin, psandoz, rriggs, dholmes, darcy
2017-10-03 13:55:05 -07:00
Doug Lea
2ea646cc20 8186226: Improve ConcurrentSkipListMap performance on weak memory model machines
Reviewed-by: martin, psandoz
2017-10-03 13:50:09 -07:00
Doug Lea
d9d91c1cc4 8186171: HashMap: Entry.setValue may not work after Iterator.remove() called for previous entries
Reviewed-by: martin, psandoz
2017-10-03 13:45:11 -07:00
Doug Lea
c6e3667228 8187408: AbstractQueuedSynchronizer wait queue corrupted when thread awaits without holding the lock
Reviewed-by: martin, psandoz, dholmes
2017-10-03 13:37:01 -07:00
Doug Lea
dfce305868 8188241: Improve numerical code in StampedLock example code
Reviewed-by: martin, psandoz, darcy
2017-10-03 13:32:04 -07:00
Bhavesh Patel
feab9efa52 8074407: javadoc: using <pre> after @deprecated tag causes warnings
Reviewed-by: jjg, ksrini
2017-10-03 12:58:49 -07:00
Bhavesh Patel
448718c0af 8169819: minor cleanup for deprecated page
Reviewed-by: jjg, ksrini
2017-10-02 14:49:46 -07:00
Bernard Blaser
47e2972a64 8187978: javac can show overload error messages that include non-valid candidates
Reviewed-by: mcimadamore
2017-10-02 10:04:22 -07:00
Maurizio Cimadamore
870b0834fe 8188144: regression in method reference type-checking
Method reference checking prefers unbound lookup when both searches produce same results

Reviewed-by: vromero
2017-10-02 12:29:44 +01:00
Serguei Spitsyn
b4347ad825 Merge 2017-09-30 00:14:39 +00:00
Serguei Spitsyn
8f9b248011 Merge 2017-09-29 23:53:15 +00:00
Calvin Cheung
6213838f11 8138600: eliminate the need of ModuleLoaderMap.dat for CDS
Removed the code which generates the ModuleLoaderMap.dat and the code which references it

Reviewed-by: mchung, jiangli
2017-09-29 10:11:01 -07:00
Yasumasa Suenaga
858db7244e 8187402: UnknownOopException is occurred on Stack Memory window in HSDB
Reviewed-by: sspitsyn, jgeorge
2017-09-29 21:00:18 +09:00
Patric Hedlin
e31bc5637a 8188031: Complement fused mac operations on SPARC
Adding a few (FMAf) matcher patterns to the SPARC back-end

Reviewed-by: rbackman, kvn
2017-09-29 10:44:58 +02:00
Patric Hedlin
d801fa5d9d 8182279: Updating SPARC feature/capability detection to support Core C5
Renamed Core Sx to Core Cx (C3, C4, C5, according to name change).

Reviewed-by: kvn, dholmes
2017-09-29 10:41:36 +02:00
Patric Hedlin
b125aebb91 8167199: Add C2 SPARC intrinsic for BigInteger::multiplyToLen() method
Preliminary support for intrinsic multiplyToLen, including generalised version based on 'mpmul' instruction (when available).

Reviewed-by: kvn, neliasso
2017-09-29 10:40:54 +02:00
Patric Hedlin
1af1d42ac4 8011352: C1: TraceCodeBlobStacks crashes fastdebug Solaris SPARC
Handle null correctly

Reviewed-by: roland, dlong, rbackman
2017-09-29 10:40:49 +02:00
Mandy Chung
5d986605ca 8186050: StackFrame should provide the method signature
Reviewed-by: alanb, bchristi, forax, plevart
2017-09-29 11:33:08 -07:00
Srinivas Dama
f2a9034adf 8147076: LinkerCallSite.ARGLIMIT is used incorrectly
Modified ARGLIMIT

Reviewed-by: hannesw, jlaskey
2017-09-30 03:15:56 +05:30
Athijegannathan Sundararajan
fc05af8f41 8180274: Fix links in nashorn documentation
Reviewed-by: hannesw
2017-09-29 16:37:36 +05:30
Goetz Lindenmaier
a0218352fc 8188135: Fix VS 2010 build after "8187631: Refactor FileDescriptor close implementation"
Reviewed-by: dholmes, alanb
2017-09-29 10:00:58 +02:00
Athijegannathan Sundararajan
cea7897f08 8188098: NPE in SimpleTreeVisitorES6 visitor when parsing a tagged template literal
Reviewed-by: hannesw, jlaskey
2017-09-28 23:03:17 +05:30
Athijegannathan Sundararajan
b0e9c95b72 8188082: autoimports.js sample is broken
Reviewed-by: hannesw, jlaskey
2017-09-28 18:30:35 +05:30
Bhavesh Patel
6db0190cb5 8186332: Fix method signature in method summary table
Reviewed-by: jjg, ksrini
2017-09-27 16:47:07 -07:00
Joe Darcy
5d2a4c319a 8187982: Update SourceVersion to mention restricted keywords
Reviewed-by: mcimadamore
2017-09-27 14:23:41 -07:00
Mandy Chung
24d81d3f2e 6373396: (cl spec) clarify spec of ClassLoader.getPackages() about run-time package
Reviewed-by: psandoz
2017-09-27 12:44:06 -07:00
Claes Redestad
0355224df8 8187826: Avoid using reflection to bootstrap NamedFunctions
Reviewed-by: psandoz
2017-09-27 17:56:00 +02:00
Hannes Wallnöfer
2e46c1508a 8186815: Java.from has a bug, when element is ScriptObject
Reviewed-by: sundar, jlaskey
2017-09-27 17:09:52 +02:00
Athijegannathan Sundararajan
a00dba8a16 8188023: Avoid -source and -target javac options in nashorn ant compilation
Reviewed-by: jlaskey, hannesw
2017-09-27 18:40:37 +05:30
Hannes Wallnöfer
047f60b678 8187962: Optimistic types ignore JavaAdapter return types
Reviewed-by: sundar, attila
2017-09-27 14:56:19 +02:00
Philipp Kunz
2ae9614d34 6695402: Jarsigner with multi-byte characters in class names
Reviewed-by: weijun
2017-09-27 14:02:15 +08:00
Bhavesh Patel
385c583ed1 8183511: improve style for deprecated text
Reviewed-by: jjg, ksrini
2017-09-26 20:03:48 -07:00
Rob McKenna
1fc8d0cfd9 8184328: JDK 8u131 socketRead0 hang at SSL read
Reviewed-by: xuelei, chegar, coffeys
2017-09-26 19:19:09 +01:00
Vyom Tewari
99b202b398 8185072: network006 times out in many configs in JDK10-hs nightly
Reviewed-by: chegar, rriggs
2017-09-26 20:34:10 +05:30
Athijegannathan Sundararajan
06e15f6982 8187965: dynalink samples under $jdk10/src/sample/nashorn/dynalink are broken
Reviewed-by: jlaskey, hannesw
2017-09-26 20:29:13 +05:30
Maurizio Cimadamore
c825188cd8 8177466: Add compiler support for local variable type-inference
Add support for 'var' in implicitly typed local variable declarations

Reviewed-by: vromero, jlahoda
2017-09-26 12:52:53 +01:00
Vyom Tewari
02ba926da2 8159526: Deprivilege jdk.httpserver
Reviewed-by: chegar, alanb, michaelm, mchung
2017-09-26 15:08:56 +05:30
Serguei Spitsyn
195531f733 8177901: JDWP exit error JVMTI_ERROR_WRONG_PHASE(112): on checking for an interface
Add synchronization between CommandLoop and cbVMDeath callback

Reviewed-by: dholmes, dcubed
2017-09-26 00:52:29 -07:00
Goetz Lindenmaier
92fc72a86b 8187045: [linux] Not all libraries in the VM are linked with -z,noexecstack
Reviewed-by: ihse, dholmes
2017-09-25 23:42:58 -04:00
Srinivas Dama
2dc0eaaa4b 8185257: Nashorn AST is missing nodes when a for-loop contains a VariableDeclarationList
Var declaration in for loop removed from block scope in es6 mode

Reviewed-by: hannesw, sundar
2017-09-26 07:00:43 +05:30
Mikael Gerdin
04b79fa8f3 8187040: ThreadCritical crashes on Solaris if used between os::init and os::init_2
Reviewed-by: dholmes, stuefe
2017-09-25 21:25:46 -04:00
Jesper Wilhelmsson
1b0c9f4ae7 Merge 2017-09-25 19:54:58 +00:00
Martin Doerr
d0dc2dd231 8185979: PPC64: Implement SHA2 intrinsic
Co-authored-by: Bruno Rosa <bruno.rosa@eldorado.org.br>
Co-authored-by: Gustavo Serra Scalet <gustavo.scalet@eldorado.org.br>
Co-authored-by: Igor Nunes <igor.nunes@eldorado.org.br>
Reviewed-by: mdoerr, goetz
2017-09-25 17:40:06 +02:00
Athijegannathan Sundararajan
551d0689ed 8187934: dropping a shebang script in src/sample/nashorn directory results in test failure
Reviewed-by: hannesw, jlaskey
2017-09-25 20:32:44 +05:30
Srinivas Dama
dca8480e87 8186011: Fix samples/java_completion.js and samples/disassemble.js
Replaced continuation property to method as API changed and removed invalid test in jdk9 modular system

Reviewed-by: hannesw, sundar
2017-09-26 00:37:37 +05:30
Gustavo Serra Scalet
521c3ea430 8185976: PPC64: Implement MulAdd and SquareToLen intrinsics
This implementation is based on the algorithm implemented in java. It yields a performance speedup of: JDK8: 23% JDK9: 5% JDK10: 5%

Reviewed-by: mdoerr, goetz
2017-09-25 09:37:43 +02:00
Goetz Lindenmaier
a17ce440a5 8187547: PPC64: icache invalidation is incorrect in some places
Reviewed-by: mdoerr, goetz
2017-09-25 08:43:43 +02:00
Sergey Bylokhov
97d93fe4d8 8187442: Xcheck:jni produces various "WARNING in native method" in launcher
Reviewed-by: ksrini, dholmes
2017-09-22 15:32:09 -07:00
John R Rose
f98aab0db9 8185993: MethodHandle.invokeWithArguments jumbo-arity
Reviewed-by: psandoz, vlivanov
2017-09-22 15:28:16 -07:00
Jan Lahoda
b45c9233a4 8044853: Attr synthesizes nullcheck tree nodes
Avoid move of JCNewClass.encl to args in front end phases.

Reviewed-by: jjg
2017-09-22 14:06:11 +02:00
Priya Lakshmi Muthuswamy
de9651c66a 8181792: nashorn samples/exec.js has some incorrect examples
Reviewed-by: sundar, hannesw
2017-09-22 12:00:41 +02:00
Priya Lakshmi Muthuswamy
6c1410fffa 8186180: Symbol.__proto__ results in error with format string placeholder
Reviewed-by: sundar, hannesw
2017-09-22 11:52:38 +02:00
Priya Lakshmi Muthuswamy
ea3a3f20d5 8187362: Nashorn unsigned right shift operator unexpectedly returns floating-point
Reviewed-by: sundar, hannesw
2017-09-22 11:48:57 +02:00
Mandy Chung
21c1304c15 8187449: jdeps fails when an upgradeable module is upgraded with an automatic module
Reviewed-by: lancea, psandoz
2017-09-21 13:55:44 -07:00
Roger Riggs
cc7c5f202b Merge 2017-09-21 13:40:18 -04:00
Jan Lahoda
0fcaa36105 8184739: Incorrect end position of PackageTree
Fixing end position of PackageTree.

Reviewed-by: jjg
2017-09-21 17:47:34 +02:00
Roger Riggs
a3b9c07ee4 8177932: (process) java/lang/ProcessHandle/OnExitTest.java failed with "Process A should not be alive..."
Reviewed-by: stuefe, dholmes, fyuan
2017-09-21 11:41:34 -04:00
Roger Riggs
5e55e5e2ee 8187631: Refactor FileDescriptor close implementation
Reviewed-by: bpb, alanb
2017-09-21 11:41:12 -04:00
Kumar Srinivasan
8088bd6350 8186875: Removed unused method LinkFactory.getTypeAnnotationLinks(LinkInfo linkInfo)
Reviewed-by: anazarov, bpatel, jjg
2017-09-20 15:22:21 -07:00
Hannes Wallnöfer
9ddbf8fde2 8186646: Nashorn: "duplicate code" assertion when binding a vararg function that just passes arguments along
Reviewed-by: sundar, jlaskey
2017-09-21 14:40:50 +02:00
Prasanta Sadhukhan
1cb97b8378 8186987: NullPointerException in RasterPrinterJob without PrinterResolution
Reviewed-by: prr, pnarayanan
2017-09-21 16:21:14 +05:30
Prasanta Sadhukhan
34500e27fe 8156042: Modifiers of swing ActionEvent does not work when "-Djavafx.embed.singleThread=true"
Reviewed-by: azvegint
2017-09-21 16:17:37 +05:30
Weijun Wang
fe19274488 8186831: Kerberos ignores PA-DATA with a non-null s2kparams
Reviewed-by: xuelei
2017-09-21 16:29:45 +08:00
Weijun Wang
8a1e214f37 8186931: jdk.security.jarsigner package is missing package summary
Reviewed-by: mchung, mullan
2017-09-21 16:29:34 +08:00
Weijun Wang
2bb3b82709 8148371: Remove policytool
Reviewed-by: erikj, alanb, mullan
2017-09-21 16:29:18 +08:00
Xueming Shen
02b9452ed3 8186464: ZipFile cannot read some InfoZip ZIP64 zip files
Reviewed-by: martin
2017-09-20 16:41:54 -07:00
Zhongwei Yao
2990ce8012 8187601: Unrolling more when SLP auto-vectorization failed
Reviewed-by: kvn
2017-09-20 18:30:32 +08:00
Roland Westrelin
844e594fec 8187822: C2 conditonal move optimization might create broken graph
Reviewed-by: kvn
2017-09-27 16:17:47 +02:00
Jesper Wilhelmsson
eed5d34c26 Merge 2017-10-04 20:01:19 +00:00
Jesper Wilhelmsson
b708f0ddbd Merge 2017-10-04 21:02:13 +02:00
Dmitrij Pochepko
949f677957 8187684: Intrinsify Math.multiplyHigh(long, long)
Reviewed-by: kvn, aph, lucy
2017-10-04 11:52:07 -07:00
Martin Doerr
f651176392 8188773: PPC64 and s390: Fix UseMembar and enable ShareVtableStubs
Reviewed-by: goetz
2017-10-04 16:44:45 +02:00
Lutz Schmidt
bdb303aa42 8187969: [s390] z/Architecture Vector Facility Support. Part II
Reviewed-by: mdoerr
2017-10-04 14:25:53 +02:00
Michihiro Horie
febf1d80ea 8188757: PPC64: Disable VSR52-63 in ppc.ad
Reviewed-by: mdoerr
2017-10-04 14:01:54 +02:00
Michihiro Horie
7b17b2d2a3 8188139: PPC64: Superword Level Parallelization with VSX
Reviewed-by: kvn, gromero
2017-10-03 17:37:15 -07:00
Rohit Arul Raj
e6765bf9bf 8187219: Newer AMD 17h (EPYC) Processor family defaults
Reviewed-by: dholmes, kvn
2017-10-03 15:32:27 -07:00
Coleen Phillimore
cc04ffc7b3 Merge 2017-10-03 21:21:35 +00:00
Coleen Phillimore
73a801bc43 8186777: Make Klass::_java_mirror an OopHandle
Add indirection for fetching mirror so that GC doesn't have to follow CLD::_klasses

Co-authored-by: Rickard Backman <rickard.backman@oracle.com>
Reviewed-by: hseigel, thartmann, eosterlund, stefank
2017-10-03 16:42:04 -04:00
Erik Helin
80f8ee98e4 8187570: Comparison between pointer and char in MethodMatcher::canonicalize
Reviewed-by: ysuenaga, eosterlund
2017-09-15 10:43:03 +02:00
Erik Österlund
aa72ba3a64 8187977: Generalize Atomic::xchg to use templates
Reviewed-by: kbarrett, coleenp
2017-09-26 21:37:01 +02:00
Ioi Lam
a2d1045eef 8187979: Clean up info printing at CDS dump time
Reviewed-by: jiangli, ccheung
2017-10-02 16:00:42 -07:00
David Holmes
fd93a04684 8185062: Set AssumeMP to true and deprecate the flag
Reviewed-by: shade, dcubed, kvn
2017-10-02 18:56:30 -04:00
Dmitrij Pochepko
b787f1b55b 8186915: AARCH64: Intrinsify squareToLen and mulAdd
Reviewed-by: aph
2017-10-02 17:20:14 +03:00
Serguei Spitsyn
87a8a4301f Merge 2017-09-30 01:38:57 +00:00
Yasumasa Suenaga
12a11f2c65 8175816: SA: HSDB: Compute Liveness results in java.lang.IndexOutOfBoundsException
Reviewed-by: sspitsyn, jgeorge
2017-09-29 20:57:48 +09:00
Erik Joelsson
3789983e89 8187443: Forest Consolidation: Move files to unified layout
Reviewed-by: darcy, ihse
2017-09-12 19:03:39 +02:00
Thomas Stuefe
25f56657aa 8187230: [aix] Leave OS guard page size at default for non-java threads instead of explicitly setting it
Reviewed-by: goetz, dholmes
2017-09-07 15:40:20 +02:00
Kim Barrett
7704492287 8187462: IntegralConstant should not be AllStatic
Changed base class to VALUE_OBJ_CLASS_SPEC

Reviewed-by: coleenp
2017-10-17 20:21:50 -04:00
Igor Veresov
65ed45cd3d 8189409: [AOT] Fix paths in aot test scripts
Reviewed-by: kvn, gtriantafill
2017-10-17 13:52:52 -07:00
Roman Kennke
b788c73f53 8185580: Refactor Threads::possibly_parallel_oops_do() to use Threads::parallel_java_threads_do()
Reviewed-by: dholmes, coleenp
2017-10-17 18:54:03 +02:00
Erik Österlund
9adfa12663 8188919: Generalize GC thread suspend/resume at safepoints
Reviewed-by: pliden, rkennke
2017-10-17 08:51:55 +02:00
Jini George
e8fe842a41 8184042: several serviceability/sa tests timed out on MacOS X
Restore the ptrace attach argument to PT_ATTACH from PT_ATTACHEXC

Reviewed-by: dholmes, sspitsyn, dcubed, poonam, dsamersoff
2017-10-16 23:23:27 -07:00
Coleen Phillimore
39b068db11 8188220: Remove Atomic::*_ptr() uses and overloads from hotspot
With the new template functions these are unnecessary.

Reviewed-by: kbarrett, dholmes, eosterlund
2017-10-16 22:36:06 -04:00
Erik Gahlin
cb9e7bf51a Merge 2017-10-16 20:22:41 +00:00
Erik Gahlin
96c45a7857 Merge 2017-10-16 19:11:17 +00:00
Robin Westberg
cb07ac64f3 8187042: Events to show which objects are associated with biased object revocations
Reviewed-by: mgronlun, dholmes, egahlin
2017-10-16 18:25:07 +02:00
Erik Gahlin
03f6080cd2 8189274: Allow cutoff attribute for event based tracing
Reviewed-by: mgronlun
2017-10-16 17:48:47 +02:00
Jesper Wilhelmsson
843dc3a8ea Merge 2017-10-16 17:03:56 +02:00
Robin Westberg
f4d679fb21 8173917: Safepoint ID is not consistent across event-based tracing events
Reviewed-by: egahlin, mgronlun
2017-10-16 16:44:23 +02:00
Athijegannathan Sundararajan
fcf9b5115d 8189262: jdk.jlink module-info.java javadoc comment refers to the non-existent jimage tool doc
Reviewed-by: alanb
2017-10-16 18:15:41 +05:30
Srikanth Adayapalam
b9d8d3bd9c 8184989: Incorrect class file created when passing lambda in inner class constructor and outer is subclass
Reviewed-by: mcimadamore
2017-10-16 14:30:37 +05:30
Roman Kennke
d19e0c0bb2 8189333: Fix Zero build after Atomic::xchg changes
Reviewed-by: dholmes
2017-10-15 17:37:29 -04:00
Alan Bateman
e4bea042c5 8189264: (sl) ServiceLoader does not wrap Errors thrown by provider classes when running with a security manager
Reviewed-by: mchung
2017-10-14 09:51:25 +01:00
Doug Lea
dc895e3911 8187941: Add StampedLock stamp inspection methods
Reviewed-by: martin, psandoz
2017-10-13 18:29:21 -07:00
Doug Lea
f8ae408aa9 8188047: Add SplittableRandom.nextBytes
Reviewed-by: martin, psandoz
2017-10-13 18:19:18 -07:00
Doug Lea
10dded5f7f 8188900: ConcurrentLinkedDeque linearizability
Reviewed-by: martin, psandoz
2017-10-13 18:07:47 -07:00
Jesper Wilhelmsson
947fc09db0 Merge 2017-10-14 00:19:29 +02:00
Dean Long
9d33d6f6bb 8189244: x86: eliminate frame::adjust_unextended_sp() overhead
Reviewed-by: kvn
2017-10-13 12:29:45 -07:00
Hannes Wallnöfer
61995f03d4 8027302: Identifiers containing unicode escapes are not recognized as reserved words
Reviewed-by: jlaskey, sundar
2017-10-13 17:25:12 +02:00
Alan Bateman
2abb1c7d7f 8186738: (sl) ServiceLoader::stream doesn't update cache
Reviewed-by: mchung
2017-10-13 14:17:10 +01:00
Erik Österlund
ebf1633bd2 8185141: Generalize scavengeable nmethod root handling
Reviewed-by: tschatzl, pliden, rkennke
2017-10-13 15:08:56 +02:00
Tobias Hartmann
34622112b6 8189067: SuperWord optimization crashes with "assert(out == prev || prev == __null) failed: no branches off of store slice"
Only move the store if the LCA of all users is outside of the loop. Re-enable UseSubwordForMaxVector.

Reviewed-by: kvn, roland
2017-10-13 14:02:01 +02:00
Stuart Marks
6c266f7163 6344935: (spec) clarify specifications for Object.wait overloads
Reviewed-by: dholmes, martin, forax, lancea, mchung
2017-10-12 17:58:26 -07:00
Brian Burkhalter
848a4d9bae 8189209: java/lang/invoke/lambda/LambdaAsm.java failed with "could not create proxy classes"
Use an inner class for the closer instead of a lambda

Reviewed-by: alanb, rriggs
2017-10-12 10:28:20 -07:00
Claes Redestad
81b7f75837 8188869: jdk9/10 reject zip/jar files where seconds value of timestamp is out of supported range 0 - 59
Reviewed-by: sherman, alanb
2017-10-12 16:00:29 +02:00
Roman Kennke
4516caf125 8179387: Factor out CMS specific code from GenCollectedHeap into its own subclass
Reviewed-by: ehelin, coleenp
2017-10-12 15:08:19 +02:00
Jonathan Gibbons
f386e419c3 8187521: In some corner cases the javadoc tool can reuse id attribute
Reviewed-by: bpatel, ksrini
2017-10-10 17:02:52 -07:00
Brian Burkhalter
b890c3ce83 8147615: (fc) FileChannelImpl has no finalizer
Add a cleaner to close parent-less FileChannels

Reviewed-by: alanb, rriggs
2017-10-10 09:55:14 -07:00
Maurizio Cimadamore
305e51848a 8169345: javac crash when local from enclosing context is captured multiple times
Captured variables imported from multiple enclosing scopes are not handled correctly

Reviewed-by: vromero
2017-10-09 13:03:18 +01:00
Jonathan Gibbons
b91a83b95f 8188578: move printFramesDocument from HtmlDocWriter to FrameOutputWriter
Reviewed-by: ksrini
2017-10-06 18:40:33 -07:00
Jan Lahoda
a36938e082 8188225: AST could be improved in presence of var types
Adding a better start pos for vars; always adding a synthetic type tree to vars.

Reviewed-by: mcimadamore
2017-10-06 17:18:03 +02:00
Goetz Lindenmaier
f3bad9d19b 8188855: Fix VS10 build after "8187658: Bigger buffer for GetAdaptersAddresses"
Reviewed-by: vtewari, simonis
2017-10-06 08:37:08 +02:00
Erik Helin
3f2081a618 8187667: Disable deprecation warning for readdir_r
Reviewed-by: dholmes, sjohanss
2017-09-18 15:06:28 +02:00
Serguei Spitsyn
0a9e773af2 Merge 2017-10-12 01:18:38 +00:00
Igor Veresov
c0c2da94f4 8189183: [AOT] Fix eclipse project generation after repo consolidation
Reviewed-by: dlong
2017-10-11 16:19:09 -07:00
Jaroslav Tulach
d72e093a74 8182701: Modify JVMCI to allow Graal Compiler to expose platform MBean
Reviewed-by: dnsimon, kvn, alanb, mchung, dfuchs
2017-09-28 13:52:15 -07:00
Sangheon Kim
c56b6c1c4f 8186465: Each j.l.Reference elapsed time log is incorrect
Fixed wrongly referencing variable and updated regression test to compare each elapsed time vs. sum of those

Reviewed-by: stefank, tschatzl
2017-09-28 12:13:57 -07:00
Harold Seigel
38378b4f12 Merge 2017-09-28 17:10:36 +00:00
Harold Seigel
87e30fd801 8186092: Unnecessary loader constraints produced when there are multiple defaults
Do not check loader constraints for overpass methods

Reviewed-by: dholmes, acorn
2017-09-28 13:01:24 -04:00
Zhengyu Gu
c4ba1b52b3 8186770: NMT: Report metadata information in NMT summary
Added metadata statistics in NMT summary report

Reviewed-by: adinn, coleenp
2017-09-28 09:56:54 -04:00
Erik Österlund
394e6a8318 8186838: Generalize Atomic::inc/dec with templates
Reviewed-by: kbarrett, coleenp, dholmes
2017-09-26 14:05:27 +02:00
Tobias Hartmann
e840fdf694 8187780: VM crashes while generating replay compilation file
Fixed two problems with generation of replay file.

Reviewed-by: kvn
2017-09-28 11:02:55 +02:00
Jiangli Zhou
61e3ad18c6 Merge 2017-09-28 01:01:42 +00:00
Jiangli Zhou
ba16fabd20 8186789: CDS dump crashes at ConstantPool::resolve_class_constants
ConstantPool::resolve_class_constants needs to check for NULL _cache.

Reviewed-by: sspitsyn, coleenp, iklam
2017-09-27 20:40:33 -04:00
Jiangli Zhou
92ad2630a1 8068314: "Java fields that are currently set during shared space dumping" comment is incorrect
CDS dump time should also initialize preallocated out_of_memory error messages.

Reviewed-by: iklam, hseigel
2017-09-27 17:55:20 -04:00
John Paul Adrian Glaubitz
da300604af 8186578: Zero fails to build on linux-sparc due to sparc-specific code
Reviewed-by: kbarrett, ihse, coleenp
2017-09-27 17:01:34 +02:00
Stefan Johansson
52c73dd8a9 8184286: print_tracing_info() does not use Unified Logging for output
Reviewed-by: ehelin, sangheki
2017-09-21 14:32:05 +02:00
Coleen Phillimore
b9f1af71e5 Merge 2017-09-26 21:12:39 +00:00
Chris Plummer
0ceb0316d6 Merge 2017-09-26 19:53:07 +00:00
Chris Plummer
6d534369ab Merge 2017-09-26 17:18:00 +00:00
Chris Plummer
7b36f7835a Merge 2017-09-26 17:11:39 +00:00
Chris Plummer
737c0cd7a5 8179498: attach in linux should be relative to /proc/pid/root and namespace aware
Map pid to namespace pid so proper tmp file name is used.

Reviewed-by: sspitsyn, dholmes
2017-09-26 10:09:54 -07:00
Chris Plummer
3dc45c1157 Merge 2017-09-26 16:47:46 +00:00
Harold Seigel
b670fc288c Merge 2017-09-26 16:04:40 +00:00
Coleen Phillimore
b90a701462 Merge 2017-09-26 16:03:29 +00:00
Harold Seigel
b9f9561d7c Merge 2017-09-26 15:34:49 +00:00
Lutz Schmidt
6d015ba502 8187573: [s390] z/Architecture Vector Facility Support
Reviewed-by: mdoerr
2017-09-26 17:06:06 +02:00
Coleen Phillimore
03d1c13fa3 8081323: ConstantPool::_resolved_references is missing in heap dump
Add resolved_references and init_lock as hidden static field in class so root is found.

Reviewed-by: hseigel, jiangli, sspitsyn
2017-09-26 10:03:17 -04:00
Harold Seigel
2781cf9c38 8187436: -Xbootclasspath/a causes sanity check assertion with exploded build
Fixed asserts to work properly with exploded build

Reviewed-by: alanb, jiangli, gtriantafill
2017-09-26 08:58:04 -04:00
Yasumasa Suenaga
070104325c 8187597: WrongTypeException is occurred at CLHSDB jstack after JDK-8186837
Reviewed-by: rehn, cjplummer, dholmes
2017-09-26 06:53:35 -04:00
David Holmes
57590109cc Merge 2017-09-26 10:17:35 +00:00
Thomas Stuefe
2f137ced94 8187028: [aix] Real thread stack size may be up to 64K smaller than requested one
Reviewed-by: goetz
2017-09-26 11:25:34 +02:00
David Holmes
5a3eb313a6 Merge 2017-09-26 09:02:10 +00:00
John Paul Adrian Glaubitz
80184d3515 8187590: Zero runtime can lock-up on linux-alpha
Reviewed-by: aph, dholmes
2017-09-26 04:52:02 -04:00
Zhengyu Gu
8969bd19e0 8187629: NMT: Memory miscounting in compiler (C2)
Fixed memory counting in compiler (C2)

Reviewed-by: adinn, cjplummer, kvn
2017-09-25 11:56:21 -04:00
Zhengyu Gu
03dacaa881 8187331: VirtualSpaceList tracks free space on wrong node
Fixed miscounting of virtual space node's free memory

Reviewed-by: shade, coleenp, stuefe
2017-09-20 20:54:29 -04:00
Valerie Peng
0e8009535c 8178466: Better RSA parameters
Reviewed-by: mullan, ahgross
2017-08-31 21:44:19 +00:00
Robbin Ehn
104ecb2dd1 8189941: Implementation JEP 312: Thread-local handshake
Introduce a way to execute a callback on threads without performing a global VM safepoint. Make it both possible and cheap to stop individual threads and not just all threads or none.

Co-authored-by: Mikael Gerdin <mikael.gerdin@oracle.com>
Co-authored-by: Erik Osterlund <erik.osterlund@oracle.com>
Reviewed-by: mdoerr, neliasso, acorn, aph, coleenp, dholmes
2017-08-31 10:00:28 +02:00
Thomas Stuefe
1dca1fb4e1 8186665: [aix] buffer overflow in Java_java_nio_MappedByteBuffer_isLoaded0
Reviewed-by: alanb, plevart, clanger
2017-08-31 08:45:18 +02:00
Kumar Srinivasan
3733761695 8157000: Do not generate javadoc for overridden method with no spec change
Reviewed-by: jjg
2017-10-19 20:27:47 -07:00
Phil Race
d36d599779 Merge 2017-10-19 11:45:23 -07:00
Hannes Wallnöfer
7ff7f3b5ab 8189617: Remove undocumented --print-mem-usage option
Reviewed-by: jlaskey, sundar
2017-10-19 20:34:48 +02:00
Phil Race
679360ec5a Merge 2017-10-19 10:54:40 -07:00
Jan Lahoda
d84d8f1cc5 8188035: JavaFileManager.listLocationsForModules does not always reflect values set through StandardJavaFileManager.setLocationForModule
Prepending explictely set module locations in listLocationsForModules.

Reviewed-by: jjg
2017-10-19 10:59:02 +02:00
Manajit Halder
a1d4869f84 8163265: [macosx] numpad 0 instead of VK_0
Reviewed-by: serb, azvegint
2017-10-19 13:52:37 +05:30
Jan Lahoda
6f27933eb4 8186873: Possible dead code \"com.sun.tools.javac.tree.TreeInfo.isAnonymousDiamond()\" which was added in 9
Removing unused method.

Reviewed-by: mcimadamore
2017-10-19 09:53:53 +02:00
Christoph Langer
2e31cc7ee1 8155590: Dubious collection management in sun.net.www.http.KeepAliveCache
Reviewed-by: rriggs, vtewari
2017-10-19 09:01:29 +02:00
Sergey Bylokhov
4ccdfd542e 8075255: Metal L&F has dependency on the Windows L&F
Reviewed-by: psadhukhan
2017-10-18 22:06:24 -07:00
Joe Wang
52d3c4b2e8 8181150: Fix lint warnings in JAXP repo: rawtypes and unchecked
Reviewed-by: lancea, rriggs, mullan
2017-10-18 13:25:49 -07:00
Phil Race
8f0f21d997 Merge 2017-10-17 14:33:32 -07:00
Mandy Chung
9ebc72545b 8189202: (jdeps) Need jdeps output format easy for jlink --add-modules to use
Reviewed-by: sundar
2017-10-17 10:32:01 -07:00
Vicente Romero
8315ac39cc 8187624: NPE in Type.UndetVar.debugString()
Reviewed-by: mcimadamore
2017-10-17 07:11:05 -07:00
Semyon Sadetsky
e363c824b5 8182638: [macosx] Active modal dialog is hidden by another non-active one
Reviewed-by: azvegint, dmarkov
2017-10-16 08:34:01 -07:00
Phil Race
4337e3f1a6 8183978: Remove ICU layout code from OpenJDK
Reviewed-by: srl, serb
2017-10-13 08:54:00 -07:00
Krishna Addepalli
a9808680a1 6714836: JRootPane.getMaximumSize() returns a width of 0
Reviewed-by: psadhukhan, serb
2017-10-12 10:40:45 +05:30
Anton Litvinov
dd41b7691f 8166772: Touch keyboard is not shown for text components on a screen touch
Reviewed-by: serb, azvegint
2017-10-11 15:53:25 +01:00
Phil Race
82040f1fb3 Merge 2017-10-09 11:38:46 -07:00
Prasanta Sadhukhan
a4bc3522b1 8187989: Documentation error in JComponent.paintComponent
Reviewed-by: ssadetsky, serb
2017-10-09 10:42:27 +05:30
Dmitry Markov
513abd0c08 8155197: Focus transition issue
Reviewed-by: serb, ssadetsky, aivanov
2017-10-07 15:58:45 +01:00
Shashidhara Veerabhadraiah
0e982813e1 8004029: [macosx] The long Tab titles are not clipped with dots at the end
Reviewed-by: serb, psadhukhan
2017-10-04 15:10:08 +05:30
Phil Race
fd49cc9ce4 Merge 2017-09-28 11:27:56 -07:00
Phil Race
1c89e3aa56 Merge 2017-09-28 09:13:27 -07:00
Prasanta Sadhukhan
ebf03d174d 8088132: [Swing, singleThread] ClassCastException in nested event loop when showing multiple message dialogs in SwingNode
Reviewed-by: serb
2017-09-26 10:46:23 +05:30
Artem Smotrakov
0b924bfad1 8178274: Java_sun_lwawt_macosx_NSEvent_nsToJavaKeyInfo() overreads jchar variable
Reviewed-by: ssadetsky
2017-09-22 18:57:05 -07:00
Sergey Bylokhov
1b2b0e8cb9 6238123: Typos at Serialized Form javadoc for java.awt.Polygon
Reviewed-by: prr, pnarayanan
2017-09-22 18:20:18 -07:00
Sergey Bylokhov
e5566ace66 8175968: The javax.swing.filechooser.FileSystemView constructor consumes memory by adding a PropertyChangeListener that is never removed
Reviewed-by: azvegint
2017-09-22 17:36:55 -07:00
Sergey Bylokhov
8ea9b74ec1 8186967: Unused methods in MotifGraphicsUtils can be removed
Reviewed-by: azvegint
2017-09-22 17:09:56 -07:00
Valerie Peng
c5f521e176 8186212: Improve GSS handling
Reviewed-by: weijun, ahgross
2017-08-24 19:18:51 +00:00
Sreeprakash Sreedharan
8d9060c1a6 8184937: LCMS error 13: Couldn't link the profiles
Reviewed-by: prr
2017-08-14 15:32:25 +05:30
Naoto Sato
ec4b6a477f 8202088: Japanese new era implementation
Reviewed-by: scolebourne, rriggs, nishjain, weijun
2017-08-09 14:54:37 -07:00
Naoto Sato
7c91898b9f 8182601: Improve usage messages
Reviewed-by: alanb, ahgross, ksrini, mchung
2017-08-08 10:43:07 -07:00
Stuart Marks
7d547d0ee4 8174109: Better queuing priorities
Reviewed-by: chegar, dfuchs, rriggs, alanb, robm, rhalade, jeff, ahgross
2017-08-02 10:34:35 -07:00
Adam Petcher
72e7522e88 8182387: Improve PKCS usage
Reviewed-by: valeriep
2017-07-28 18:20:43 +00:00
Pavel Rappo
05331dc72f 8181612: More stable connection processing
Reviewed-by: chegar, coffeys, ahgross, joehw, rhalade
2017-07-26 17:44:06 +01:00
Vyom Tewari
5069e85826 8182125: Improve reliability of DNS lookups
Reviewed-by: chegar, rriggs, dfuchs
2017-07-23 10:33:13 +05:30
Valerie Peng
b3f1165f7d 8181048: Refactor existing providers to refer to the same constants for default values for key length
Reviewed-by: mullan, ahgross
2017-07-13 20:41:59 +00:00
Weijun Wang
7cf3c0ff14 8182879: Add warnings to keytool when using JKS and JCEKS
Reviewed-by: vinnie, ahgross, mullan
2017-07-12 10:55:40 +08:00
Phil Race
bbfbe9af71 8183028: Improve CMS header processing
Reviewed-by: serb, rhalade, mschoene
2017-07-06 09:43:27 -07:00
Weijun Wang
3232ef5897 8181432: Better processing of unresolved permissions
Reviewed-by: mullan
2017-07-06 09:20:21 +08:00
Vinnie Ryan
47efefa42f 8181692: Update storage implementations
Reviewed-by: weijun, igerasim
2017-07-05 17:27:46 +01:00
Adam Petcher
248948c08b 8174756: Extra validation for public keys
Reviewed-by: valeriep
2017-07-04 01:52:53 +00:00
Phil Race
933e26ad58 8180877: More deeply colored ICC spaces
Reviewed-by: serb, rhalade, mschoene
2017-06-29 11:53:19 -07:00
Vinnie Ryan
e4945e6c66 8181370: Better keystore handling
Reviewed-by: weijun, igerasim
2017-06-28 16:52:36 +01:00
Jan Lahoda
7c3c83fb55 8181897: JDK 9 change to symlink handling affects SourceFile attributes
Using user provided path in toUri().

Reviewed-by: jjg
2017-06-26 17:00:45 +02:00
Brent Christian
e8c680e65b 8187772: JVM crash when currency set on MacOS 10.10 and earlier
Reviewed-by: naoto
2017-10-16 11:20:59 -07:00
Hannes Wallnöfer
5c7381d739 8068513: Adding elements to a javascript 'object' (a map) is slow
Reviewed-by: jlaskey, sundar
2017-10-16 18:27:07 +02:00
Jan Lahoda
f66b1c7a8b 8186694: JShell: speed-up compilation by reusing compiler instances
Generalizing ReusableContext and using it in JShell to speed up processing.

Reviewed-by: mcimadamore, rfield
2017-09-01 14:04:20 +02:00
Yang Zhang
27d7667a34 8181633: Vectorization fails for some multiplication with constant cases
Reviewed-by: kvn
2017-06-20 16:25:53 +08:00
Roland Westrelin
eb10d407d3 8191887: assert(b->is_Bool()) in PhaseIdealLoop::clone_iff() due to Opaque4 node
Add special handling for graph shape If->Opaque4->Bool->CmpP

Reviewed-by: kvn
2017-11-27 16:05:11 -08:00
Sangheon Kim
8a150bbd05 8178497: Bug in MutableNUMASpace::ensure_parsability
Changed problematic variable type from intptr_t to HeapWord*

Reviewed-by: tschatzl, sjohanss
2017-11-27 13:19:08 -08:00
Roland Westrelin
1c25161036 8191153: assert(u_ctrl != blk1 && u_ctrl != blk2) failed: won't converge
Relax assert

Reviewed-by: kvn
2017-11-27 10:44:19 -08:00
Jaroslav Tulach
d08cb7efdf 8189116: Give the jdk.internal.vm.compiler.management only the permissions it really needs to expose the bean
Reviewed-by: mchung, kvn
2017-11-10 10:30:42 +01:00
Andrew Haley
005bc61930 Merge 2017-11-27 17:26:47 +00:00
Andrew Haley
1b6f4c4ddc Merge 2017-11-27 17:04:45 +00:00
Andrew Haley
295112c91a 8189596: AArch64: implementation for Thread-local handshakes
Reviewed-by: adinn
2017-11-24 17:19:47 +00:00
John Paul Adrian Glaubitz
39de42151a 8186461: Zero's atomic_copy64() should use SPE instructions on linux-powerpcspe
Reviewed-by: aph
2017-11-24 12:16:25 +01:00
Magnus Ihse Bursie
5713b7c2bd 8191202: Remove duplicated jmm.h
Reviewed-by: erikj, coleenp
2017-11-22 14:53:20 +01:00
Razvan Lupusoru
9b6a428212 8190800: Support vectorization of Math.sqrt() on floats
Reviewed-by: vlivanov, kvn
2017-11-22 14:43:37 +03:00
Igor Veresov
b6d123f660 8191683: Compile problem on ARM after JDK-8043070
Make nmethod::_state explicitly a signed char

Reviewed-by: thartmann
2017-11-22 01:12:23 -08:00
John Paul Adrian Glaubitz
b76a492de1 8187227: Zero should use compiler built-ins for atomics on linux-m68k
Reviewed-by: aph, kbarrett
2017-11-21 13:48:28 +01:00
Gustavo Romero
f25e51e643 8191868: IdealGraphVisualizer: "ant build/run" fails due to outdated bootstrap.url
Fixed bootstrap.url to point to correct server.

Reviewed-by: thartmann
2017-11-27 14:59:36 +01:00
Per Lidén
bfc0314e87 8191864: Provide a public destructor for WorkGang
Reviewed-by: stefank, sjohanss
2017-11-27 13:50:03 +01:00
Per Lidén
1e7b0b326d 8191862: Warn about UseNUMA/UseLargePages only when using ParallelGC
Reviewed-by: stefank, sjohanss
2017-11-27 13:34:00 +01:00
Per Lidén
9771e4daa7 8191846: jstat prints debug message when debugging is disabled
Reviewed-by: ehelin, rehn
2017-11-27 12:38:47 +01:00
Rahul Raghavan
250c05ee4c 8191227: issues with unsafe handle resolution
Added ThreadInVMfromNative or ThreadInVMfromUnknown support

Reviewed-by: thartmann, vlivanov
2017-11-27 03:11:38 -08:00
Tobias Hartmann
925a508b2b 8087339: The code heap might use different alignment for committed size and reserved size
InitialCodeCacheSize should not constrain code cache memory alignment.

Reviewed-by: kvn
2017-11-27 11:41:00 +01:00
Tobias Hartmann
d54de52f13 8179026: Remove explicit code cache options processing
Removed explicit processing of code cache related options because generic processing already handles these.

Reviewed-by: kvn
2017-11-27 11:39:21 +01:00
Erik Helin
01e9cb7e23 8080345: With perm gen gone, perfdata counter sun.gc.policy.generations should be 2, not 3
Co-authored-by: Y. Srinivas Ramakrishna <ysr1729@gmail.com>
Reviewed-by: sjohanss, tschatzl
2017-11-27 10:51:31 +01:00
Stefan Karlsson
677e5bdaed 8191861: Move and refactor hSpaceCounters
Reviewed-by: pliden, ehelin, rkennke
2017-11-24 15:48:01 +01:00
Stefan Karlsson
dbc915dcb9 8191860: Add perfData.inline.hpp
Reviewed-by: ehelin, pliden
2017-11-24 15:21:30 +01:00
Stefan Karlsson
5fd6905c94 8191858: Add missing includes in memoryManager.hpp
Reviewed-by: ehelin, tschatzl, pliden
2017-11-24 15:21:28 +01:00
Yasumasa Suenaga
627a32d672 8185796: jstack and clhsdb jstack should show lock objects
Modifications to display monitor details with SA jstack

Reviewed-by: sspitsyn, jgeorge
2017-11-27 11:20:38 +05:30
Jesper Wilhelmsson
f32bd0cb43 Merge 2017-11-25 20:28:10 +01:00
Jesper Wilhelmsson
96ba782488 Merge 2017-11-25 04:36:43 +01:00
David Holmes
50f5bcbc03 8191707: Options with invalid values are incorrectly treated as obsolete and ignored
Reviewed-by: rehn, dcubed
2017-11-24 14:07:59 +01:00
Daniel D. Daugherty
4fd0863d06 Merge 2017-11-23 19:42:56 -08:00
Daniel D. Daugherty
e2d4899be6 Merge 2017-11-23 06:01:57 -08:00
Stefan Johansson
d21c547b0e 8189733: Cleanup Full GC setup and tear down
Reviewed-by: tschatzl, ehelin
2017-11-23 09:53:53 +01:00
Daniel D. Daugherty
0dff96ff0b 8167108: inconsistent handling of SR_lock can lead to crashes
Add Thread Safe Memory Reclamation (Thread-SMR) mechanism.

Co-authored-by: Erik Osterlund <erik.osterlund@oracle.com>
Co-authored-by: Robbin Ehn <robbin.ehn@oracle.com>
Reviewed-by: coleenp, dcubed, dholmes, eosterlund, gthornbr, kbarrett, rehn, sspitsyn, stefank
2017-11-22 17:54:50 -08:00
Alexander Harlap
d15086130b 8185591: guarantee(_byte_map[_guard_index] == last_card) failed: card table guard has been modified
Properly handle zero count in gen_write_ref_array_post_barrier()

Reviewed-by: tschatzl, kbarrett
2017-11-22 18:58:01 -05:00
Thomas Schatzl
faff99f2fc 8190426: Lazily initialize refinement threads with UseDynamicNumberOfGCThreads
Reviewed-by: sangheki, sjohanss
2017-11-23 15:51:06 +01:00
Thomas Schatzl
c5ce7408b3 8182050: assert(_whole_heap.contains(p)) failed: Attempt to access p out of bounds of card marking array's _whole_heap
Ignore zero-sized MemRegions to invalidate in G1SATBCardTableLoggingModRefBS::invalidate()

Reviewed-by: ehelin, sjohanss
2017-11-23 15:51:06 +01:00
Thomas Schatzl
22d7ce52bb 8179244: Assert failed in instanceMirrorKlass.inline.hpp
Investigate the failure and upon observing that the assert is too strict, disable it and addd a comment.

Reviewed-by: ehelin
2017-11-23 15:51:06 +01:00
Dean Long
a7c84b45b4 8191688: Assert failed in > 200 tests: failed dependencies, but counter didn't change
Reviewed-by: kvn
2017-11-22 09:27:06 -08:00
Volker Simonis
cc3aabe580 8187280: Remove unused methods from StubQueue
Reviewed-by: kvn, kbarrett
2017-11-22 17:57:27 +01:00
Lutz Schmidt
d5adf1df92 8189793: [s390]: Improve String compress/inflate by exploiting vector instructions
Reviewed-by: mdoerr, goetz
2017-11-22 17:10:38 +01:00
Jesper Wilhelmsson
c8bce04078 Merge 2017-11-22 16:57:34 +01:00
Alexander Harlap
cb1ea0fc33 8187819: gc/TestFullGCALot.java fails on jdk10 started with "-XX:-UseCompressedOops" option
Need to initialized metaspace performance counters before their potential use

Reviewed-by: tschatzl, sjohanss
2017-11-16 14:06:44 -05:00
Leo Korinth
d1cbd17c2c 8190408: Run G1CMRemarkTask with the appropriate amount of threads instead of starting up everyone
Reviewed-by: tschatzl, sjohanss
2017-11-13 15:28:17 +01:00
Roger Riggs
74b07b599e 8181597: Process Proxy presentation
Reviewed-by: dfuchs, ahgross, rhalade, skoivu
2017-06-19 17:38:33 -04:00
Naoto Sato
89b8d98d19 8181323: Better timezone processing
Reviewed-by: rriggs
2017-06-15 09:57:15 -07:00
James Laskey
03e33188f3 8180869: Cleaner image file reading handling
Reviewed-by: ahgross, rriggs, rhalade
2017-06-05 12:36:15 -03:00
Sergey Bylokhov
3d8ce35924 8180015: Cleaner AWT robot handling
Reviewed-by: prr, mschoene, rhalade
2017-06-01 15:15:26 -07:00
Sergey Bylokhov
e646802457 8179990: Cleaner palette entry handling
Reviewed-by: prr, mschoene, rhalade
2017-05-17 18:22:54 -07:00
Weijun Wang
e7fdfdb7e7 8178714: PKIX validator nameConstraints check failing after change 8175940
Reviewed-by: mullan, ahgross
2017-05-18 08:52:50 +08:00
Phil Race
e9b19f1484 8180011: Cleaner native graphics device handling
Reviewed-by: serb, mschoene, rhalade
2017-05-17 14:57:10 -07:00
Phil Race
fdb4198336 8179533: Cleaner print job handling
Reviewed-by: serb, mschoene, rhalade
2017-05-17 14:52:09 -07:00
Adam Petcher
bb2e7a3311 8172525: Improve key keying case
Reviewed-by: mullan, valeriep, rhalade, ahgross
2017-04-28 10:17:46 -04:00
Chris Dennis
58faa32cfe 8178117: Add public state constructors for Int/Long/DoubleSummaryStatistics
Reviewed-by: psandoz, bpb, briangoetz
2017-04-11 17:25:09 -04:00
Jan Lahoda
c6be2c363a 8187681: Compiling for target 9 while also using --patch-module
Removing limitation on simultaneous use of --release and --patch-module for system modules.

Reviewed-by: mcimadamore, jjg
2017-11-02 11:16:27 +01:00
Jan Lahoda
e44c7feff9 8189595: jshell tool: line redrawn on each completion
Reviewed-by: rfield
2017-11-02 10:09:34 +01:00
Stuart Marks
8c6afbd3da 8174966: Unreferenced references
Reviewed-by: rriggs, skoivu, rhalade, robm
2017-03-28 12:10:20 -07:00
Daniel Fuchs
c8812e460a 8176751: Better URL connections
Reviewed-by: chegar, michaelm, rhalade, rpatil, vtewari
2017-03-23 15:07:26 +00:00
Prasanta Sadhukhan
2ad7c43b76 8176450: Revise default document styling
Reviewed-by: prr, serb, mschoene
2017-03-23 10:52:00 +05:30
Rachel Protacio
1a773b8464 8181664: Improve JVM UTF String handling
Reviewed-by: mschoene, coleenp, rhalade, acorn, gtriantafill
2017-06-12 13:58:09 -04:00
Vladimir Ivanov
fa8b858052 8174962: Better interface invocations
Reviewed-by: jrose, coleenp, ahgross, acorn, iignatyev
2017-05-26 18:39:27 +03:00
Rachel Protacio
65fe47bdf2 8180020: Improve SymbolHashMap entry handling
Reviewed-by: mschoene, coleenp, rhalade
2017-05-25 15:39:32 -04:00
Harold Seigel
dd5b1ee367 8175932: Improve host instance supports
Reviewed-by: coleenp, mschoene
2017-03-20 13:05:00 -04:00
Mark Sheppard
979cec24f8 8160104: CORBA communication improvements
Reviewed-by: rriggs, dfuchs
2017-09-03 16:08:13 +01:00
Weijun Wang
f92a050948 8175940: More certificate subject checking
Reviewed-by: ahgross, mullan
2017-03-15 22:27:12 +08:00
Phil Race
547745b881 8171261: Stability fixes for lcms
Reviewed-by: serb, vadim, mschoene
2017-02-24 05:32:16 -08:00
Phil Race
640238256c 8170218: Improved Font Metrics
Reviewed-by: vadim, serb, mschoene
2017-02-23 03:43:29 -08:00
Valerie Peng
2473f1cf41 8171252: Improve exception checking
Reviewed-by: ascarpino, mschoene
2017-02-22 00:14:32 +00:00
Sergey Bylokhov
ab51d9296c 8169966: Larger AWT menus
Reviewed-by: azvegint, prr, rhalade, mschoene
2017-02-21 02:23:00 +03:00
Ivan Gerasimov
1a21126223 8169026: Handle smartcard clean up better
Reviewed-by: valeriep, ahgross
2016-11-17 22:01:02 +03:00
Sergey Bylokhov
2b71ce6a46 8165543: Better window framing
Reviewed-by: prr, ssadetsky, mschoene
2016-10-28 21:33:09 +03:00
Roman Grigoriadi
fea6f71dae 8181100: Better Base Exceptions
Reviewed-by: dfuchs, rhalade, skoivu
2017-06-19 22:51:35 +01:00
Joe Wang
7ec06eee41 8181327: Better X processing
Reviewed-by: dfuchs, lancea
2017-06-13 11:13:56 -07:00
Harold Seigel
4dc1883cb7 8180711: Better invokespecial checks
Reviewed-by: acorn, ahgross, rhalade
2017-07-26 11:45:53 -04:00
Daniel Fuchs
020204a972 8180024: Improve construction of objects during deserialization
Reviewed-by: rriggs, skoivu, ahgross, rhalade
2017-05-19 11:18:49 +01:00