9367 Commits

Author SHA1 Message Date
Thomas Schatzl
7bca463789 8168467: Use TaskEntry as task mark queue elements
Change the mark stack to use TaskEntry queue elements to improve type safety instead of casting around raw pointers.

Reviewed-by: kbarrett, sangheki
2017-03-15 11:44:46 +01:00
Coleen Phillimore
35e8433c1c Merge 2017-03-14 14:07:24 -04:00
Thomas Stuefe
35d5d1c53d 8173848: realpath is unsafe
Fix occurrences of realpath in hotspot to use safe POSIX.1-2008 form.

Reviewed-by: dsamersoff, dholmes, clanger
2017-03-13 20:23:11 +01:00
Zoltan Majo
fcb5908230 8159734: Consistency check fails with -XX:-ProfileInterpreter
Re-establish the consistency of profiling information also with -XX:-ProfileInterpreter.

Reviewed-by: kvn
2017-03-13 13:01:47 +01:00
Tobias Hartmann
43a771e998 8176441: assert(false) failed: modified node was not processed by IGVN.transform_old()
The shiftNode needs to be added to the IGVN worklist after being modified.

Reviewed-by: kvn, vlivanov
2017-03-13 12:13:09 +01:00
Ioi Lam
f5777dc9bd 8005165: Remove CPU-dependent code in self-patching vtables
Reviewed-by: coleenp, stuefe, jiangli
2017-03-03 23:08:35 -08:00
Harold Seigel
8a5f33bd16 8172514: Stop checking for duplicate packages in the JVM_DefineModule() package list
Use GrowableArray append() instead of append_if_missing() to stop searching for duplicates

Reviewed-by: redestad, coleenp, dholmes, gtriantafill
2017-03-10 08:04:17 -05:00
Sangheon Kim
ade6d7cd18 8164038: Missing volatile keyword at CardTableRS::write_ref_field_gc_par()
Reviewed-by: tschatzl, kbarrett
2017-03-09 15:00:23 -08:00
Thomas Stuefe
5806258936 8176140: 8176140-Crashes-or-timeouts-during-error-reporting-may-lead-to-infinitely-repeated-error-logs-until-ErrorLogTimeout-is-hit
Reviewed-by: cjplummer, dholmes
2017-03-08 19:25:15 +01:00
Alexander Harlap
6fdf396624 8165674: G1CMMarkStack::out_of_memory possibly redundant
Remove the redundant G1CMMarkStack::_out_of_memory member.

Reviewed-by: kbarrett, tschatzl
2017-03-09 10:48:44 +01:00
Lutz Schmidt
0171aad88e 8175369: [ppc] Provide intrinsic implementation for CRC32C
Reviewed-by: mdoerr, simonis, kvn
2017-03-08 17:01:13 -08:00
Lutz Schmidt
99a554c5ad 8175368: [s390] Provide intrinsic implementation for CRC32C
Reviewed-by: mdoerr, simonis
2017-03-08 14:55:32 +01:00
Sangheon Kim
a235f9f6ef Merge 2017-03-07 22:58:16 +00:00
Chris Plummer
f91cc0cd42 8175341: "java/util/Arrays/ParallelPrefix.java" Crash Internal Error ...diagnosticCommand.cpp...assert(k != __null) failed: FinalizerHistogram class is not accessible
Allow the dcmd to fail with a pending exception rather than assert

Reviewed-by: sspitsyn, dholmes
2017-03-07 13:35:34 -08:00
Sangheon Kim
d86c76dca9 8023905: Failing to initialize VM with small initial heap when NUMA and large pages are enabled
Exit VM when fails to initialize small initial heap with NUMA and large pages enabled

Reviewed-by: jmasa, sjohanss
2017-03-07 10:25:58 -08:00
Gunter Haug
e44e774bbe 8175900: Assertion too strict in G1CollectedHeap::new_mutator_alloc_region
Reviewed-by: simonis, tschatzl, kbarrett
2017-02-27 12:57:16 +01:00
Thomas Schatzl
8d405d171c 8071278: Fix the closure mess in G1RemSet::refine_card()
Remove the use of many nested closure in the code to refine a card.

Reviewed-by: kbarrett, sjohanss
2017-03-06 17:03:35 +01:00
Thomas Schatzl
6677810ffa 8175367: Wrong assert for UseCompressedOops in aarch64 Copy::conjoint_oops_atomic implementation
Remove wrong check for UseCompressedOops

Reviewed-by: aph
2017-03-06 15:33:14 +01:00
Kim Barrett
b067fc774d 8175221: Cleanup DirtyCardQueueSet::concatenate_log
Concatenate_log calls flush, flush no longer checks "permanent"

Reviewed-by: tschatzl, shade
2017-03-04 15:56:22 -05:00
Robbin Ehn
2ea73551ba 8176096: Wrong macro checks for INCLUDE_TRACE
Reviewed-by: dholmes, coleenp, mgronlun
2017-03-03 12:02:35 +01:00
Shafi Ahmad
90c3e97cbd 8171194: Exception "Duplicate field name&signature in class file" should report the name and signature of the field
Added code to emit name and signature of duplicate field in java.lang.ClassFormatError exception message

Reviewed-by: dholmes, coleenp
2017-02-28 20:32:06 -08:00
Chris Plummer
57f866aaeb 8155980: ARM InterpreterMacroAssembler::get_method_counters() should not be saving caller saved registers
Make get_method_counters() only save registers specified by caller, not all of them

Reviewed-by: dlong, jiangli
2017-03-01 14:59:36 -08:00
Harold Seigel
5485a03844 8172307: Remove ununsed JVM API JVM_GetModuleByPackageName()
Remove get_module_by_package_name() etc., and unneeded test.

Reviewed-by: sspitsyn, gtriantafill
2017-03-01 07:59:20 -05:00
Bharadwaj Yadavalli
2841c5eb2b 8171008: Integrate AOT compiler into JDK
Co-authored-by: Christian Thalinger <cthalinger@twitter.com>
Co-authored-by: Dean Long <dean.long@oracle.com>
Co-authored-by: Dmitrij Pochepko <dmitrij.pochepko@oracle.com>
Co-authored-by: Dmitry Chuyko <dmitry.chuyko@oracle.com>
Co-authored-by: Doug Simon <doug.simon@oracle.com>
Co-authored-by: Eric Caspole <eric.caspole@oracle.com>
Co-authored-by: Igor Ignatyev <igor.ignatyev@oracle.com>
Co-authored-by: Igor Veresov <igor.veresov@oracle.com>
Co-authored-by: John Rose <john.r.rose@oracle.com>
Co-authored-by: Morris Meyer <morris.meyer@oracle.com>
Co-authored-by: Niclas Adlertz <niclas.adlertz@oracle.com>
Co-authored-by: Rickard Backman <rickard.backman@oracle.com>
Reviewed-by: erikj, mchung, psandoz, coleenp, iklam, stefank, simonis
2016-12-11 19:07:04 -08:00
Doug Simon
3ef35612c7 8166417: Integrate Graal-core into JDK for AOT compiler
Co-authored-by: Lukas Stadler <lukas.stadler@oracle.com>
Co-authored-by: Tom Rodriguez <tom.rodriguez@oracle.com>
Co-authored-by: Roland Schatz <roland.schatz@oracle.com>
Co-authored-by: Josef Eisl <josef.eisl@jku.at>
Co-authored-by: Christian Wimmer <christian.wimmer@oracle.com>
Co-authored-by: Chris Thalinger <cthalinger@twitter.com>
Co-authored-by: Gilles Duboscq <gilles.m.duboscq@oracle.com>
Co-authored-by: David Leopoldseder <david.d.leopoldseder@oracle.com>
Co-authored-by: Stefan Anzinger <stefan.anzinger@oracle.com>
Co-authored-by: Christian Humer <christian.humer@oracle.com>
Co-authored-by: Michael Berg <michael.c.berg@intel.com>
Co-authored-by: Bernhard Urban <bernhard.urban@jku.at>
Co-authored-by: Miguel Garcia <miguel.m.garcia@oracle.com>
Co-authored-by: Yudi Zheng <yudi.zheng@usi.ch>
Co-authored-by: Christos Kotselidis <christos.kotselidis@oracle.com>
Co-authored-by: Andreas Woess <andreas.woess@jku.at>
Co-authored-by: Stefan Rumzucker <stefan.rumzucker@jku.at>
Co-authored-by: Aleksandar Prokopec <aleksandar.prokopec@oracle.com>
Co-authored-by: Christian Haeubl <haeubl@ssw.jku.at>
Co-authored-by: Morris Meyer <morris.meyer@oracle.com>
Co-authored-by: Matthias Grimmer <grimmer@ssw.jku.at>
Co-authored-by: Erik Eckstein <erik.eckstein@oracle.com>
Co-authored-by: Josef Haider <josef.haider@jku.at>
Co-authored-by: Manuel Rigger <rigger.manuel@gmail.com>
Co-authored-by: Michael Haupt <michael.haupt@oracle.com>
Co-authored-by: Niclas Adlertz <niclas.adlertz@oracle.com>
Co-authored-by: Jaroslav Tulach <jaroslav.tulach@oracle.com>
Co-authored-by: Chris Seaton <chris.seaton@oracle.com>
Co-authored-by: Peter Kessler <peter.b.kessler@oracle.com>
Co-authored-by: Christian Wirth <christian.wirth@oracle.com>
Co-authored-by: Benoit Daloze <benoit.d.daloze@oracle.com>
Reviewed-by: iveresov, kvn, erikj, ihse, mchung
2016-12-11 12:05:57 -08:00
Jesper Wilhelmsson
65ae405a5b Merge 2016-12-08 17:03:45 +01:00
Jesper Wilhelmsson
f09c55c0d8 Merge 2016-12-08 15:49:29 +01:00
Brent Christian
95b2647798 8169389: Use a bitmap to control StackTraceElement::toString format and save footprint
Reviewed-by: dfuchs, mchung
2016-12-13 12:36:13 -08:00
Jesper Wilhelmsson
5597cd6698 Merge 2016-12-08 15:49:29 +01:00
Serguei Spitsyn
ad4c4a1b14 Merge 2016-12-07 23:45:31 +00:00
Serguei Spitsyn
88e7d65782 7034834: JVMTI xml file referring to old JDK version
Update the JVMTI spec with the version auto-change

Reviewed-by: coleenp, dholmes, dsamersoff, dcubed
2016-12-07 15:10:18 -08:00
Markus Grönlund
cfb71b7b05 8170847: Refactor trace/traceStream.hpp
Reviewed-by: coleenp, lfoltan
2016-12-07 23:38:37 +01:00
Shrinivas Joshi
985cf43c19 8158012: Use SW prefetch instructions instead of BIS for allocation prefetches on SPARC Core S4
Reviewed-by: kvn
2016-12-07 09:29:28 -08:00
Severin Gehwolf
f6acd61df6 8170767: Zero fastdebug build triggers assertion
Add missing interpreter entries for java_lang_math_fmaD/F.

Reviewed-by: coleenp
2016-12-07 13:37:37 +01:00
Boris Molodenkov
d82ff831ba 8166132: Convert TestGlobalDefinitions_test to GTest
Reviewed-by: iignatyev
2016-12-06 16:42:42 +03:00
Markus Grönlund
6a685f1d63 8170672: Event-based tracing to support classloader instances
Reviewed-by: hseigel, egahlin
2016-12-06 22:49:17 +01:00
Kirill Zhaldybin
8bf0437430 8170468: Convert ParallelCompact_test to GTest
Reviewed-by: dfazunen, iignatyev
2016-12-03 12:48:22 +03:00
Volker Simonis
7092ff6b91 8170548: VM may crash at startup because StdoutLog/StderrLog logging stream can be badly aligned
Reviewed-by: stuefe, mlarsson, clanger, dholmes
2016-12-01 11:30:22 +01:00
Kirill Zhaldybin
8d6d1e4cda 8170490: Convert TestBufferingOopClosure_test to GTest
Reviewed-by: dfazunen, iignatyev
2016-12-01 12:09:02 +03:00
Rachel Protacio
9c6128c943 8169734: Update uses of string "java.base" to macro
Replaced instances of "java.base" string with JAVA_BASE_NAME macro

Reviewed-by: sspitsyn, dcubed
2016-12-05 16:08:20 -05:00
Rachel Protacio
da0b1b46e0 Merge 2016-12-05 18:00:34 +00:00
Erik Joelsson
6d271f4386 8066474: Remove the lib/ directory from Linux and Solaris images
Reviewed-by: tbell, ihse, kvn
2016-12-05 17:57:43 +01:00
Rachel Protacio
83ff43e737 8168850: Mark module entries that have been specified by --patch-module
Adds a boolean to ModuleEntry to specify whether the module has been patched using the command line --patch-module

Reviewed-by: jiangli, lfoltan, dholmes
2016-12-05 11:45:20 -05:00
Gunter Haug
78e6980e1a 8170409: CMS: Crash in CardTableModRefBSForCTRS::process_chunk_boundaries
Reviewed-by: simonis, tschatzl, mgerdin, dlong
2016-12-02 11:07:27 +01:00
Alan Bateman
988690303a 8169069: Module system implementation refresh (11/2016)
Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: George Triantafillou <george.triantafillou@oracle.com>
Reviewed-by: lfoltan, acorn, ctornqvi, mchung
2016-12-01 08:56:41 +00:00
Vladimir Kozlov
f56abb5fc2 Merge 2016-11-30 20:40:41 +00:00
Roland Westrelin
96be8c0cc8 8170470: superword may miss reductions
Reviewed-by: kvn
2016-11-30 12:07:17 -08:00
Erik Helin
cc87ed96f5 8170388: Deprecate the flag -XX:ExplicitGCInvokesConcurrentAndUnloadsClasses
Reviewed-by: tschatzl, jprovino
2016-11-28 14:57:12 +01:00
Igor Nunes
793c6e5da7 8170328: PPC64: Use andis instead of lis/and
Reviewed-by: goetz, mdoerr
2016-11-25 11:15:12 -02:00
Vivek Deshpande
947115f16f 8170430: x86 pow() stub from Intel libm is inconsistent with pow() from fdlib
Do not use libm stubs when InlineIntrinsics switched off

Reviewed-by: kvn
2016-11-29 17:41:08 -08:00