5292 Commits

Author SHA1 Message Date
Jaroslav Bachorik
c8b0b0b85c 8023093: Add ManagementAgent.status diagnostic command
Reviewed-by: sla
2015-03-26 10:37:10 +01:00
Staffan Larsen
d350f07d51 8076450: com/sun/management/HotSpotDiagnosticMXBean/CheckOrigin.java: assert(!on_C_heap() || allocated_on_C_heap()) failed: growable array must be on C heap if elements are
Reviewed-by: fparain, mgronlun, dholmes
2015-04-01 15:27:04 +02:00
Thomas Stuefe
1afbc04d56 8076185: Provide SafeFetchX implementation for zero
Implement SafeFetchX for zero using setjmp/longjmp and Posix TLS

Reviewed-by: sgehwolf, dholmes
2015-03-31 05:30:36 -04:00
Coleen Phillimore
38c3337610 Merge 2015-03-31 02:11:09 +00:00
Jeremy Manson
0353353bde 8074895: os::getenv is inadequate
Reviewed-by: dholmes, coleenp
2015-03-30 17:32:18 -04:00
Coleen Phillimore
6ee6fe38a0 Merge 2015-03-30 19:27:30 +00:00
Max Ockner
f0fa5ca5f0 8074718: Merge templateTable_x86 _32 and _64 .hpp files
TemplateTable_x86 32 and 64 bit files have been merged.

Reviewed-by: hseigel, coleenp
2015-03-30 09:47:52 -04:00
Severin Gehwolf
e1598c8a28 8076181: bytecodeInterpreter.cpp refers to unknown labels
Reviewed-by: coleenp, dholmes
2015-03-27 16:12:40 +01:00
Jaroslav Bachorik
a16c45029d 8054890: Serviceability: New diagnostic commands 'VM.set_flag' and 'JVMTI.data_dump'
Reviewed-by: sla, fparain, egahlin, ykantser
2015-03-23 11:46:15 +01:00
Harold Seigel
1665046b90 Merge 2015-03-29 09:20:27 -04:00
Coleen Phillimore
b115f80cb5 8075967: Zero interpreter asserts for SafeFetch<32,N> calls in ObjectMonitor
Implement SafeFetchX unsafely and make CanUseSafeFetchX false for Zero

Reviewed-by: sgehwolf, dholmes
2015-03-25 22:27:51 -04:00
Yumin Qi
3e6cf09c39 8074345: Enable RewriteBytecodes when VM runs with CDS
Enable bytecode rewriting when CDS turned on.

Co-authored-by: Ioi Lam <ioi.lam@oracle.com>
Reviewed-by: coleenp, iklam
2015-03-25 15:18:37 -07:00
Harold Seigel
257436004b 7127066: Class verifier accepts an invalid class file
For *store bytecodes, compare incoming, not outgoing, type state with exception handlers' stack maps.

Reviewed-by: acorn, dholmes
2015-03-25 08:16:48 -04:00
Stefan Karlsson
602b7d79e9 8075829: Move CSpaceCounters implementation to cSpaceCounters.cpp
Reviewed-by: jwilhelm, brutisso
2015-03-25 10:13:56 +01:00
Stefan Karlsson
b980d93909 8075809: Add missing includes of stack.inline.hpp
Reviewed-by: jmasa, pliden
2015-03-25 10:08:09 +01:00
Stefan Karlsson
0c57e77d43 8075803: Fix GC includes and forward declarations
Reviewed-by: pliden, mgerdin
2015-03-24 11:21:21 +01:00
Stefan Johansson
7f727ff4df 8075735: Missing include causes minimal build failure
Added the missing include.

Reviewed-by: jprovino, dholmes, stefank
2015-03-24 10:24:31 +01:00
Jesper Wilhelmsson
5f5b27baba Merge 2015-03-23 22:08:14 +01:00
Severin Gehwolf
e1d7a11c64 8075533: Zero JVM segfaults for -version after JDK-8074552
Remove SafeFetchXX Zero implementations and guard test with CanUseSafeFetchXX

Reviewed-by: simonis, coleenp
2015-03-23 13:53:44 +01:00
Max Ockner
0d9de873f4 8072128: mutexLocker.cpp _mutex_array[] initialization broken with safepoint check change
Fixed missing "++" in _mutex_array[] initialization.

Reviewed-by: dholmes, fparain
2015-03-19 15:30:06 -04:00
Serguei Spitsyn
cc2bb40bf3 8067662: "java.lang.NullPointerException: Method name is null" from StackTraceElement.<init>
Use method cpref and klass version to provide meaningful methods name in stacktraces

Reviewed-by: coleenp, dcubed
2015-03-20 02:44:51 -07:00
Coleen Phillimore
f2ecc46c20 Merge 2015-03-19 23:33:38 +00:00
Daniel D. Daugherty
295d64e29f Merge 2015-03-19 14:28:44 -07:00
Coleen Phillimore
ea3e362117 Merge 2015-03-19 21:11:18 +00:00
Zoltan Majo
379e3d6fb6 Merge 2015-03-19 18:01:39 +01:00
Coleen Phillimore
01893ae525 8005521: StressMethodComparator is not thread-safe
Remove the debug option. It isn't correct or tested.

Reviewed-by: gtriantafill, dholmes, sspitsyn
2015-03-19 09:47:27 -04:00
Harold Seigel
bbd0191aea 8075118: JVM stuck in infinite loop during verification
Keep a list of handlers to prevent the same handler from being scanned repeatedly.

Reviewed-by: dlong, dholmes
2015-03-19 08:55:50 -04:00
Dmitry Dmitriev
15f8d6fc9c 8075216: Remove old flags, regarding to JDK9, from obsolete_jvm_flags
Reviewed-by: dholmes, simonis, gziemski
2015-03-18 17:45:47 -04:00
Igor Ignatyev
f51a895f42 Merge 2015-03-14 16:13:48 +00:00
Zoltan Majo
41b79b9ad4 8074869: C2 code generator can replace -0.0f with +0.0f on Linux
Instead of 'fpclass', use cast float->int and double->long to check if value is +0.0f and +0.0d, respectively.

Reviewed-by: kvn, simonis, dlong
2015-03-14 11:21:04 +01:00
Coleen Phillimore
57f3125882 Merge 2015-03-13 18:59:41 +00:00
Igor Ignatyev
140bf2be86 8073607: add trace events for inlining
Reviewed-by: kvn, fzhinkin, mgronlun
2015-03-13 21:53:13 +03:00
Coleen Phillimore
7b384c6958 8061205: MetadataOnStackMark only needs to walk code cache during class redefinition
Only do full metadata walk during class redefinition and only walk handles during class unloading.

Reviewed-by: sspitsyn, stefank
2015-03-13 12:40:39 -04:00
Daniel D. Daugherty
6029190551 Merge 2015-03-13 09:18:28 -07:00
Vladimir Kozlov
2632925f9f Merge 2015-03-12 15:51:12 -07:00
Igor Ignatyev
cc89bac7ab 8074980: add WhiteBox API to get a flag value for a method
Reviewed-by: kvn, fzhinkin
2015-03-12 19:11:25 +03:00
Jesper Wilhelmsson
122a0de7fb Merge 2015-03-12 16:10:58 +01:00
Chris Plummer
984cf4c9b5 8069111: Investigate NMT detail tracking support for 32bit ARM
Fix native stack walking issues arm arm32. Disable on thumb2. Removed support for NMT without NMT detail.

Reviewed-by: dholmes, bdelsart
2015-03-10 19:56:19 -07:00
Thomas Stufe
33690bd090 8074552: SafeFetch32 and SafeFetchN do not work in error handling
Reviewed-by: dholmes, goetz
2015-03-12 19:34:50 -04:00
Mikael Vidstedt
2b6f0b511f 6313046: Remove unused frame::native_param_addr code
Removed dead code in frame

Reviewed-by: dholmes, cjplummer, dsamersoff
2015-03-11 12:00:26 -07:00
Christian Tornqvist
06a745fd7e 8069124: runtime/NMT/MallocSiteHashOverflow.java failing in nightlies
Reviewed-by: coleenp, gtriantafill, dholmes
2015-03-10 04:53:58 -07:00
Sangheon Kim
1a4c355bbc 8073654: Marking statistics should use size_t
Change data type from int to size_t to avoid overflows

Reviewed-by: jwilhelm, drwhite, tschatzl
2015-03-09 09:30:16 -07:00
Erik Helin
80e6b007d0 Merge 2015-03-09 11:37:59 +00:00
Gerald Thornbrugh
808f9cab05 8071501: perfMemory_solaris.cpp failing to compile with "Error: dd_fd is not a member of DIR."
Force all Solaris builds to use the same version of the DIR structure.

Reviewed-by: dcubed, dholmes, kvn
2015-03-06 17:19:08 -08:00
Daniel D. Daugherty
38b93bbbcb Merge 2015-03-06 08:47:51 -08:00
Axel Siebenborn
1a8c911881 8074561: Wrong volatile qualifier for field ClassLoaderDataGraphKlassIteratorAtomic::_next_klass
Reviewed-by: mgerdin, stefank
2015-03-06 16:47:46 +01:00
Thomas Stuefe
d0d14d12ca 8074543: Missing symbol "objArrayOopDesc::obj_at" when buiding with CPP Interpreter
Reviewed-by: stefank
2015-03-09 08:22:34 +01:00
Jesper Wilhelmsson
5b71ef55a7 Merge 2015-03-09 01:58:59 +01:00
Alejandro Murillo
cf1f3d308b Merge 2015-03-06 04:58:52 -08:00
Staffan Friberg
67fddc10a6 8031538: G1 eden usage is sometimes higher than target eden (printed Eden size)
When recalculating the number of target eden size, correctly consider the amount of existing eden regions in the target calculation.

Reviewed-by: tschatzl
2015-03-06 09:07:33 +01:00