5191 Commits

Author SHA1 Message Date
Daniel Fuchs
967c448681 8068730: Increase the precision of the implementation of java.time.Clock.systemUTC()
Changes the implementation of java.time.Clock.systemUTC() to take advantage of the maximum resolution of the underlying native clock on which System.currentTimeMillis() is based.

Reviewed-by: dholmes, rriggs, scolebourne, sla
2015-01-28 17:52:48 +01:00
Tobias Hartmann
ad9c86bc97 8064940: JMH javac performance regressions on solaris-sparcv9 in 9-b34
Aligning code heap sizes to large page size if supported.

Reviewed-by: kvn, anoll
2015-01-28 07:55:27 +01:00
Yumin Qi
3bbda04f98 Merge 2015-01-27 20:02:35 -08:00
Dean Long
fb0b5b0159 Merge 2015-01-27 13:58:55 -05:00
Joseph Provino
3bd08574dc 8064947: Clean up BarrierSet ctor/dtor
Make abstract base call contructors protected and require a "kind" argument.

Reviewed-by: jmasa, jwilhelm
2015-01-27 13:50:31 -05:00
Serguei Spitsyn
4326ee324a 8068162: jvmtiRedefineClasses.cpp: guarantee(false) failed: OLD and/or OBSOLETE method(s) found
Adjust Unsafe methods in the itable/vtable if Unsafe is redefined

Reviewed-by: coleenp, dcubed
2015-01-26 15:51:28 -08:00
Zoltan Majo
1da8218179 8071312: compiler/arguments/CheckCompileThresholdScaling.java fails
Change the way VM handles CompileThresholdScaling==0, update test

Reviewed-by: kvn, drchase, fzhinkin
2015-01-26 10:43:42 +01:00
Alejandro Murillo
bbd13b5561 Merge 2015-01-22 22:42:31 -08:00
Dean Long
eb08f7cb70 Merge 2015-01-22 18:23:54 -05:00
Igor Veresov
903cbcb4df 8071302: assert(!_reg_node[reg_lo] || edge_from_to(_reg_node[reg_lo], def)) failed: after block local
Add merge nodes to node to block mapping

Reviewed-by: kvn, vlivanov
2015-01-22 11:25:23 -08:00
Jesper Wilhelmsson
2d461b2a76 Merge 2015-01-22 12:26:26 +01:00
Nils Eliasson
a43e328b4a 8069035: compiler/oracle/CheckCompileCommandOption.java nightly failure
Fixed whitespace handling and added test cases

Reviewed-by: kvn, anoll, zmajo
2015-01-22 11:23:13 +01:00
Nils Eliasson
01ec695002 8069389: CompilerOracle prefix wildcarding is broken for long strings
Replace strcpy with memmove

Reviewed-by: kvn
2015-01-22 11:05:14 +01:00
Tobias Hartmann
21e2e5ffc0 8069580: String intrinsic related cleanups
Small cleanup of string intrinsic related code.

Reviewed-by: kvn, roland
2015-01-22 09:07:41 +01:00
Kim Barrett
826e1b9739 8069230: Remove unused G1PostBarrierStub::byte_map_base and friends
Reviewed-by: brutisso, tschatzl
2015-01-21 19:36:18 +01:00
Zoltan Majo
e559c17954 8059606: Enable per-method usage of CompileThresholdScaling (per-method compilation thresholds)
Changed interpreter and compilation policies to allow using CompileThresholdScaling on a per-method level

Reviewed-by: jrose, kvn
2015-01-21 10:51:35 +01:00
Igor Veresov
aca3a19f56 8068881: SIGBUS in C2 compiled method weblogic.wsee.jaxws.framework.jaxrpc.EnvironmentFactory$SimulatedWsdlDefinitions.<init>
Use MachMerge to hook together defs of the same multidef value in a block

Reviewed-by: kvn, vlivanov
2015-01-19 12:29:50 -08:00
Jesper Wilhelmsson
8c8b13bf52 Merge 2015-01-19 15:52:56 +01:00
Tobias Hartmann
e40b9593ca Merge 2015-01-19 11:35:45 +00:00
Zoltan Majo
eb5be4c2fe 8066312: Add new Node* Node::find_out(int opc) method
Added methods find_user_with() and has_user_with() for searching for a particular out type.

Reviewed-by: kvn, jrose
2015-01-19 09:32:40 +01:00
Yumin Qi
08c8e0bd31 Merge 2015-01-18 11:49:22 -08:00
Kevin Walls
3d112a8dc3 8035938: Memory leak in JvmtiEnv::GetConstantPool
Reviewed-by: sspitsyn, dcubed
2015-01-16 21:28:02 +00:00
Erik Helin
759740976b 8068971: A heap region being cleared should not belong to the cset
Reviewed-by: brutisso, tschatzl
2015-01-16 14:43:45 +01:00
Axel Siebenborn
0520df8a92 8068909: SIGSEGV in c2 compiled code with OptimizeStringConcat
Reviewed-by: kvn
2015-01-16 13:58:22 +01:00
Erik Helin
c671f2ff04 Merge 2015-01-16 10:32:40 +00:00
Dean Long
2bd7efd60e Merge 2015-01-16 05:02:11 -05:00
Erik Helin
86f95c464f 8066875: VirtualSpace does not use large pages
Reviewed-by: stefank, tschatzl, anoll, thartmann
2015-01-16 10:29:12 +01:00
Jungwoo Ha
788b0d89f8 8061259: ParNew promotion failed is serialized on a lock
Reviewed-by: kbarrett, brutisso
2015-01-16 09:40:13 +01:00
Andrew Haley
781a793ed9 6584008: jvmtiStringPrimitiveCallback should not be invoked when string value is null
Reviewed-by: sla, sspitsyn
2015-01-16 09:15:22 +01:00
Dean Long
e2bf1cd30d Merge 2015-01-15 16:51:09 -05:00
Jesper Wilhelmsson
9a011ee40a Merge 2015-01-15 14:36:15 +01:00
Paul Sandoz
582c3c193b Merge 2015-01-15 12:43:14 +00:00
Dmitry Samersoff
1e02ce5071 Merge 2015-01-15 12:02:55 +00:00
Zoltan Majo
9d6b3c1d71 8067374: Use %f instead of %g for LogCompilation output
Changed format string from %g to %f.

Reviewed-by: kvn
2015-01-15 11:30:13 +01:00
Paul Sandoz
bfe8fc7433 8054494: Remove sun.misc.Unsafe.monitorEnter, monitorExit and tryMonitorEnter
Co-authored-by: Filipp Zhinkin <filipp.zhinkin@gmail.com>
Reviewed-by: dholmes, coleenp
2015-01-15 11:18:20 +01:00
Vladimir Kozlov
834ff91cc5 8068864: C2 failed: modified node is not on IGVN._worklist
Use igvn.replace_input_of() instead of set_req().

Reviewed-by: iveresov, vlivanov
2015-01-14 17:27:00 -08:00
Dmitry Samersoff
4550ca8d71 Merge 2015-01-14 17:22:28 +00:00
Vladimir Ivanov
8cfbe74d7c Merge 2015-01-14 15:13:39 +00:00
Dmitry Samersoff
885e6ddf67 7076820: assert(addr != 0) failed: address sanity check in PerfMemory::detach with -XX:-UsePerfData
Explicitly checks for UsePerfData and if it's false make Perf:detach a NOP.

Reviewed-by: dholmes, jbachorik
2015-01-14 07:10:53 -08:00
Harold Seigel
4e980350ca 8055146: Split Verifier incorrectly throws VerifyError for getstatic of an array field
Allow fieldClass for getstatic and putstatic to be an array

Reviewed-by: dholmes, acorn
2015-01-14 08:14:23 -05:00
Kim Barrett
77f22c1241 8068396: Rename assert() to vmassert()
Macro renaming, with temporary old name synonyms for compatibilty

Reviewed-by: ehelin, dholmes, coleenp
2015-01-13 14:30:53 -05:00
Johannes Scheerer
508b9a0a1f 8068739: G1CollectoryPolicy uses uninitialized field '_sigma' in the constructor
Change initialization order in constructor. Remove suppression for suppression of "'this': used in base member initializer list" warning.

Reviewed-by: mgerdin, tschatzl, simonis
2015-01-13 11:04:53 +01:00
Goetz Lindenmaier
8e2df5f543 8067941: [TESTBUG] Fix tests for OS with 64K page size
Reviewed-by: kvn, tschatzl, ctornqvi
2015-01-12 14:43:34 -08:00
Nils Eliasson
4742c185a7 8027829: CompileCommand does not accept all JLS-conformant class/method names
Fix parsing and updated comments

Reviewed-by: kvn, vlivanov
2015-01-13 12:30:26 +01:00
Calvin Cheung
9000f8c3c7 8067187: -XX:MaxMetaspaceSize=20m -Xshare:dump caused JVM to crash
Added check for the MaxMetaspaceSize. If it is less than the estimated required size, print an error and exit.

Reviewed-by: jiangli, mseledtsov, stefank
2015-01-12 11:37:58 -08:00
Pavel Chistyakov
5bd69d7ad4 8059551: JEP-JDK-8043304: Test task: stress tests
Reviewed-by: drchase, kvn, iignatyev
2015-01-12 18:58:49 +03:00
Stefan Johansson
7a8a19d1d9 8062063: Usage of UseHugeTLBFS, UseLargePagesInMetaspace and huge SurvivorAlignmentInBytes cause crashes in CMBitMapClosure::do_bit
Making sure committed memory is cleared when re-committed, even if using large pages.

Reviewed-by: kbarrett, tschatzl
2015-01-12 15:24:29 +01:00
Jesper Wilhelmsson
24a5a68bed Merge 2015-01-12 12:51:53 +01:00
Zoltan Majo
b5909f6d03 8065894: CodeHeap::next_free should be renamed
Rename next_free() to next_used()

Reviewed-by: thartmann, iveresov
2015-01-12 09:55:20 +01:00
Lois Foltan
5f8b5ceaee 8067480: Crash in klassItable::initialize_itable_for_interface when running vm.runtime.defmeth.StaticMethodsTest
A static method should be skipped in entirety by find_instance_method(), searching should continue to find an overpass method of the same name and signature if present.

Reviewed-by: acorn, hseigel
2015-01-23 09:54:33 -05:00