5501 Commits

Author SHA1 Message Date
Thomas Stuefe
7a2bd82482 8065788: os::reserve_memory() on Windows should not assert that allocation size is aligned to OS allocation granularity
Reviewed-by: mgronlun, simonis
2014-12-03 17:12:25 +01:00
Vladimir Kempik
4e46878062 8058935: CPU detection gives 0 cores per cpu, 2 threads per core in Amazon EC2 environment
Reviewed-by: kvn, dsamersoff
2014-12-01 18:22:45 +04:00
Max Ockner
91dbd4f088 8060074: os::free() takes MemoryTrackingLevel but doesn't need it
Cleaned up unused arguments in os::free and it's callers.

Reviewed-by: lfoltan, coleenp, ctornqvi, dholmes
2014-12-01 12:16:15 -05:00
Jaroslav Bachorik
6c1cf6ba45 8065783: DCMD parser fails to recognize one character argument when it's positioned last
Reviewed-by: sla, egahlin, fparain
2014-11-28 16:33:57 +01:00
Yumin Qi
bfefbe8ba4 Merge 2014-11-26 18:47:23 +00:00
Yumin Qi
d620b54c63 8053995: Add method to WhiteBox to get vm pagesize
Unsafe is not recommended and may deprecated in future. Added a WhiteBox API to get VM page size.

Reviewed-by: dholmes, ccheung, mseledtsov
2014-11-26 10:32:21 -08:00
David Holmes
26dc1466b7 8035663: Suspicious failure of test java/util/concurrent/Phaser/FickleRegister.java
Reviewed-by: shade, coleenp
2014-11-25 21:00:21 -05:00
Ivan Gerasimov
5ffd65a731 8064694: Kitchensink: WaitForMultipleObjects failed in hotspot\src\os\windows\vm\os_windows.cpp: 3844
Increase the timeout in debug builds; raise the priority of exiting threads

Reviewed-by: dcubed, dholmes
2014-11-25 14:16:32 +03:00
Ioi Lam
68c088e66f 8065346: WB_AddToBootstrapClassLoaderSearch calls JvmtiEnv::create_a_jvmti when not in _thread_in_vm state
Removed ThreadToNativeFromVM and use java_lang_String::as_utf8_string instead

Reviewed-by: dholmes, minqi
2014-11-19 19:31:13 -08:00
Coleen Phillimore
4151db8bfd 8042235: redefining method used by multiple MethodHandles crashes VM
Note all MemberNames created on internal list for adjusting method entries.

Reviewed-by: sspitsyn, dcubed, lfoltan
2014-11-19 13:02:11 -05:00
Markus Grönlund
ac5d9dad16 8065361: Fixup headers and definitions for INCLUDE_TRACE
Reviewed-by: sla, stefank
2014-11-19 16:08:01 +01:00
Ioi Lam
ef64d5393d 8064701: Some CDS optimizations should be disabled if bootclasspath is modified by JVMTI
Added API to track bootclasspath modification

Reviewed-by: jiangli, dholmes, minqi
2014-11-18 03:38:50 -08:00
Severin Gehwolf
8a5d63f3a2 8064815: Zero+PPC64: Stack overflow when running Maven
Reviewed-by: kvn, simonis
2014-11-18 19:17:16 +01:00
Gunter Haug
8e5771854a 8064471: Port 8013895: G1: G1SummarizeRSetStats output on Linux needs improvement to AIX
Reviewed-by: dholmes, simonis
2014-11-13 16:58:56 +01:00
Thomas Stuefe
c96487313b 8064779: Add additional comments for "8062370: Various minor code improvements"
Provide additional comments to jio_snprintf and jio_vsnprintf

Reviewed-by: simonis, coleenp, mgronlun
2014-11-17 11:26:43 -05:00
Staffan Larsen
c217bdda86 Merge 2014-11-17 09:36:40 +01:00
Coleen Phillimore
6ea8243276 Merge 2014-11-15 02:51:48 +00:00
Coleen Phillimore
95e4545589 Merge 2014-11-15 01:38:35 +00:00
Coleen Phillimore
2989453543 Merge 2014-11-15 01:29:25 +00:00
Coleen Phillimore
2488d9b005 Merge 2014-11-14 15:08:28 -05:00
Max Ockner
54d2060d42 8060449: Obsolete command line flags accept arbitrary appendix
Proper error messages for newly obsolete command line flags.

Reviewed-by: lfoltan, dcubed, coleenp
2014-11-14 13:09:53 -05:00
Eric McCorkle
3e575a7078 8064571: java/lang/instrument/IsModifiableClassAgent.java: assert(length > 0) failed: should only be called if table is present
Remove tautological assert

Reviewed-by: coleenp, lfoltan, sspitsyn, jiangli
2014-11-14 12:45:55 -05:00
Daniel D. Daugherty
b259ede692 8033602: wrong stabs data in libjvm.debuginfo on JDK 8 - SPARC
8034005: cannot debug in synchronizer.o or objectMonitor.o on Solaris X86

Solaris needs objcopy version of 2.21.1 or newer is needed to create valid .debuginfo files.

Reviewed-by: dsamersoff, sspitsyn, dholmes, ihse
2014-11-13 10:39:35 -08:00
David Chase
f454e5e02c Merge 2014-11-13 11:35:15 -05:00
Aleksey Shipilev
8f3190b805 8064749: -XX:-UseCompilerSafepoints breaks safepoint rendezvous
Reviewed-by: dcubed, coleenp, kvn, dholmes
2014-11-13 19:12:28 +03:00
Jesper Wilhelmsson
c72d5c48e2 Merge 2014-11-13 12:29:09 +01:00
Coleen Phillimore
a44e4f2067 Merge 2014-11-13 03:48:47 +00:00
Calvin Cheung
7942d78cb9 Merge 2014-11-13 02:09:11 +00:00
Coleen Phillimore
2993751669 Merge 2014-11-12 20:18:13 -05:00
Coleen Phillimore
1b8924bdb6 Merge 2014-11-13 00:40:07 +00:00
Calvin Cheung
1f7d2d4c0d 8043491: warning LNK4197: export '... ...' specified multiple times; using first specification
No need to use the /export linker option on windows 64-bit platform

Reviewed-by: ctornqvi, minqi
2014-11-12 16:22:12 -08:00
David Holmes
959631d58d 8062307: 'Reference handler' thread triggers assert w/ TraceThreadEvents
Removed unused and non-working TraceThreadEvents option

Reviewed-by: coleenp, jiangli
2014-11-12 19:05:59 -05:00
Aleksey Shipilev
f8712e7800 8059677: Thread.getName() instantiates Strings
Reviewed-by: coleenp, dholmes, sla
2014-11-13 01:57:09 +03:00
Jiangli Zhou
afd3405c2f 8054008: Using -XX:-LazyBootClassLoader crashes with ACCESS_VIOLATION on Win 64bit
Only enable the assert for current_stack_pointer after stub routines become available.

Reviewed-by: dholmes, roland, lfoltan
2014-11-12 13:12:35 -05:00
Jiangli Zhou
c4806e0186 Merge 2014-11-11 14:52:50 -05:00
Jiangli Zhou
0bad624124 Merge 2014-11-11 19:42:52 +00:00
Coleen Phillimore
629b0a66ee Merge 2014-11-11 18:00:06 +00:00
Jiangli Zhou
7251d384ac Merge 2014-11-11 16:54:24 +00:00
Coleen Phillimore
d6de951947 8062870: src/share/vm/services/mallocTracker.hpp:64 assert(_count > 0) failed: Negative counter
Signed bitfield size y can only have (1 << y)-1 values.

Reviewed-by: shade, dholmes, jrose, ctornqvi, gtriantafill
2014-11-11 09:59:50 -05:00
Vladimir Ivanov
3e0d07ed5c 8060147: SIGSEGV in Metadata::mark_on_stack() while marking metadata in ciEnv
Reviewed-by: kvn, roland, coleenp, mgerdin
2014-11-11 04:46:13 -08:00
Aleksey Shipilev
21527b2ff2 8015272: Make @Contended within the same group to use the same oop map
Reviewed-by: coleenp, dholmes
2014-11-11 15:07:09 +03:00
Tobias Hartmann
00aa20db4a 8056071: compiler/whitebox/IsMethodCompilableTest.java fails with 'method() is not compilable after 3 iterations'
Always use MDO if valid and always compile trivial methods with C1 if available.

Reviewed-by: kvn, iveresov
2014-11-11 11:05:41 +01:00
Jiangli Zhou
9b1628d0b5 Merge 2014-11-10 19:52:28 -05:00
Eric McCorkle
cba5bd2638 8058322: Zero name_index item of MethodParameters attribute cause MalformedParameterException
Allow hotspot to report null for 0 parameter_name index in MethodParameters attribute

Reviewed-by: coleenp, dholmes
2014-11-10 19:37:32 -05:00
Jiangli Zhou
4f4c4bbd5c 8064375: Change certain errors to warnings in CDS output
Change CDS non-fatal preloading errors to warnings.

Reviewed-by: minqi, mseledtsov, coleenp
2014-11-10 19:28:51 -05:00
Eric McCorkle
bbd7b058d1 8058313: Mismatch of method descriptor and MethodParameters.parameters_count should cause MalformedParameterException
Allow hotspot to store and report zero-length MethodParameters attribute data

Reviewed-by: coleenp, jiangli
2014-11-10 16:45:46 -05:00
Calvin Cheung
5ccaf44879 8060721: Test runtime/SharedArchiveFile/LimitSharedSizes.java fails in jdk 9 fcs new platforms/compiler
Replaced strcat() with jio_snprintf()

Reviewed-by: dholmes, iklam, dlong, minqi
2014-11-10 10:13:10 -08:00
Igor Ignatyev
bdac822811 8059624: Test task: WhiteBox API for testing segmented codecache feature
Reviewed-by: kvn, thartmann
2014-11-10 19:04:38 +03:00
David Chase
fbe3993153 Merge 2014-11-07 13:58:52 -05:00
Staffan Larsen
33477d9cac Merge 2014-11-07 13:50:55 +01:00