49 Commits

Author SHA1 Message Date
Robbin Ehn
9500b02eae 8151265: Add a way to extend UL tags
Reviewed-by: dholmes, kbarrett
2016-03-08 13:05:21 +01:00
Coleen Phillimore
4a05d83db0 8150778: Reduce Throwable.getStackTrace() calls to the JVM
Replace JVM_GetStackTraceDepth and JVM_GetStackTraceElement, with JVM_GetStackTraceElements that gets all the elements in the StackTraceElement[]

Reviewed-by: shade, mchung, dholmes, hseigel
2016-03-10 13:43:47 -05:00
Rachel Protacio
22f2f6ff95 8150083: Convert VerboseVerification to Unified Logging
Converted -XX:+VerboseVerfication to -Xlog:verboseverification=info

Reviewed-by: hseigel, dholmes
2016-03-08 15:19:53 -05:00
Rachel Protacio
b2f40c5a16 8149991: Convert TraceSafepointCleanupTime to Unified Logging
Converted TraceSafepointCleanupTime to -Xlog:safepointcleanup=info

Reviewed-by: hseigel, mockner, ddmitriev, dholmes, coleenp
2016-03-08 12:57:44 -05:00
Robbin Ehn
64f428726b 8150026: Add the ability to log with variable log level
Reviewed-by: brutisso, mlarsson
2016-02-26 10:51:01 +01:00
Max Ockner
5a873632f3 8149064: TraceProtectionDomainVerification has been converted to Unified Logging
TraceProtectionDomainVerification has been converted to Unified Logging with tag protectiondomain.

Reviewed-by: coleenp, iklam
2016-02-29 16:58:09 -05:00
Bengt Rutisson
190c092900 8150068: Log the main G1 phases at info level
Reviewed-by: sjohanss, tschatzl
2016-02-29 13:06:03 +01:00
Max Ockner
4f6dba1568 8150103: Convert TraceClassPaths to Unified Logging
TraceClassPaths has been reimplemented with Unified Logging

Reviewed-by: coleenp, dholmes, iklam
2016-02-25 13:09:17 -05:00
Thomas Stuefe
3634fb9df2 8149036: Add tracing for thread related events at os level
Reviewed-by: coleenp, mlarsson, dholmes
2016-02-24 18:06:34 +01:00
Rachel Protacio
3cf4e3909c 8149383: Convert TraceBiasedLocking to Unified Logging
The former -XX:+TraceBiasedLocking flag has been converted to the UL option -Xlog:biasedlocking=info and =trace, with the old option being aliased.

Reviewed-by: dholmes, dcubed
2016-02-18 17:10:48 -05:00
Rachel Protacio
92f9c27eec 8148630: Convert TraceStartupTime to Unified Logging
The former -XX:+TraceStartupTime flag has been converted to the UL option -Xlog:startuptime=info

Reviewed-by: coleenp, dholmes
2016-02-17 14:03:18 -05:00
Robbin Ehn
a81f4a10da 8148219: Add decorator hostname to UL
Reviewed-by: dholmes, mlarsson
2016-02-17 11:11:47 +01:00
Marcus Larsson
76628c45b9 8149112: configure_stdout test depends on VM arguments
Reviewed-by: ehelin, jbachorik
2016-02-09 12:19:05 +01:00
Bengt Rutisson
1322b0fe56 8149035: Make the full_gc_dump() calls be recorded as part of the GC
Reviewed-by: jmasa, sjohanss
2016-02-05 08:59:36 +01:00
Robbin Ehn
ba3a7addac 8148141: Remove fixed level padding in UL
Reviewed-by: sla, mlarsson
2016-02-04 08:36:38 +01:00
Robbin Ehn
636b10604f 8148053: Remove unused log tags
Reviewed-by: dholmes, mlarsson, sla
2016-02-02 11:09:21 +01:00
Max Ockner
9cab990401 8079408: Reimplement TraceClassLoading, TraceClassUnloading, and TraceClassLoaderData with Unified Logging
TraceClassLoading,  TraceClassUnloading, and TraceClassLoaderData have been reimplemented using Unified logging.

Co-authored-by: Ioi Lam <ioi.lam@oracle.com>
Reviewed-by: iklam, coleenp, dholmes, jiangli, hseigel, rprotacio
2016-02-03 11:40:30 -05:00
Per Lidén
4bfa63dd34 8147918: Rename develop_log_is_enabled() to log_develop_is_enabled()
Reviewed-by: dholmes, brutisso
2016-02-01 22:11:16 +01:00
Kim Barrett
ec7fb4ee2b 8146793: logStream::write re-formats string
Eliminate re-format, add warning attribute, fix size check, fix va_list usage.

Reviewed-by: mlarsson, rprotacio, jrose
2016-01-29 20:57:09 -05:00
David Holmes
1875f65a54 6515172: Runtime.availableProcessors() ignores Linux taskset command
Extract processor count from sched_getaffinity mask

Reviewed-by: dcubed, stuefe, gthornbr
2016-01-29 05:32:12 -05:00
Marcus Larsson
127158a210 8147348: LogTagLevelExpression not properly initialized in configure_stdout
Reviewed-by: brutisso, sla
2016-01-27 09:07:10 +01:00
Rachel Protacio
6dac872d4d 8141564: Convert TraceItables and PrintVtables to Unified Logging
The former -XX:+TraceItables and +PrintVtables flags have been converted to UL options -Xlog:itables=trace and vtables=trace

Reviewed-by: acorn, coleenp, dholmes
2016-01-07 13:53:20 -05:00
Marcus Larsson
cc9cd893ac 8145294: TestLogRotation.java triggers a race in the UL framework
Reviewed-by: sla, mgronlun
2016-01-04 11:38:42 +01:00
Marcus Larsson
5e5def838e 8144220: UL does not support full path names for log files on windows
Reviewed-by: sla, mgronlun
2016-01-04 11:31:42 +01:00
Marcus Larsson
230a27a60d 8145083: Use semaphore instead of mutex for synchronization of Unified Logging configuration
Reviewed-by: dholmes, kbarrett, mgronlun
2016-01-04 11:37:18 +01:00
Max Ockner
de7d9e821c 8144874: Reimplement TraceClassResolution with Unified Logging
TraceClassResolution reimplemented with classresolve tag.

Reviewed-by: coleenp, dholmes, iklam, rprotacio
2015-12-23 15:05:38 -05:00
Rachel Protacio
7973ef05b3 8141211: Convert TraceExceptions to Unified Logging
The -XX:+TraceExceptions flag has been updated to the unified logging framework, i.e. -Xlog:exceptions. The old flag, because it is product-level, has been aliased to the UL option.

Reviewed-by: dholmes, coleenp, mockner
2015-12-22 16:29:48 -05:00
Rachel Protacio
a74243c302 8145153: Convert TraceMonitorInflation to Unified Logging
Updated -XX:+TraceMonitorInflation flag to -Xlog:monitorinflation=debug, with an alias (and related alias table) to support the old option.

Reviewed-by: dholmes, mockner, coleenp
2015-12-11 14:58:20 -05:00
Bengt Rutisson
ffeb0bdad0 8145092: Use Unified Logging for the GC logging
JEP-271. VM changes contributed by brutisso, test changes contributed by david.

Co-authored-by: David Lindholm <david.lindholm@oralce.com>
Reviewed-by: sjohanss, david, brutisso
2015-12-10 14:57:55 +01:00
Marcus Larsson
974f9e0483 8144146: Unified Logging tags cannot be reserved keywords
Reviewed-by: dholmes, sla
2015-12-04 13:02:25 +01:00
Thomas Stuefe
c661a50764 8144702: Using tid decorator in Unified Logging may crash VM
LogDecorations::create_tid_decoration should avoid Thread::current() if possible.

Reviewed-by: mlarsson, coleenp
2015-12-05 07:16:52 +01:00
Yasumasa Suenaga
b8fd323a28 8140556: Add force rotation option to VM.log jcmd
Rotate JVM log files via jcmd

Reviewed-by: sla, mlarsson
2015-12-03 22:42:28 +09:00
Max Ockner
c6b57e4c8c Merge 2015-12-03 19:35:18 +00:00
Max Ockner
a3d8114b45 8142976: Reimplement TraceClassInitialization with Unified Logging
TraceClassInitialization logging reimplemented with Unified Logging.

Reviewed-by: coleenp, hseigel
2015-12-02 14:07:58 -05:00
Jesper Wilhelmsson
c7a51854d9 Merge 2015-11-30 19:38:51 +01:00
Marcus Larsson
f6b238ccda 8142952: Unified Logging framework does not allow multiple -Xlog: arguments
Reviewed-by: brutisso, sla
2015-11-27 12:37:38 +01:00
Bengt Rutisson
8d0a8065f1 8144016: Add the gc tag to the logging framework
Reviewed-by: mlarsson, sjohanss
2015-11-25 13:39:52 +01:00
Marcus Larsson
396cd88e2f 8142482: Improve the support for prefix functions in unified logging
Reviewed-by: brutisso, pliden
2015-11-13 09:49:28 +01:00
Rachel Protacio
c67974cf0f 8143157: Convert TraceVMOperation to Unified Logging
The former -XX:+TraceVMOperation flag is updated to the unified logging framework and is now replaced with -Xlog:vmoperation in product mode.

Reviewed-by: coleenp, dholmes, mockner
2015-11-23 16:16:46 -05:00
Marcus Larsson
961fbacd76 8143229: Replace the develop level with develop macros in Unified Logging
Reviewed-by: brutisso, coleenp, dholmes, rprotacio
2015-11-20 12:42:21 +01:00
Marcus Larsson
dd059bb29f 8142483: Unified logging log instances cause warnings on windows when only static functions are used
Reviewed-by: brutisso, sla
2015-11-11 15:45:17 +01:00
Coleen Phillimore
4e9f2d1db2 Merge 2015-11-05 05:31:57 +00:00
Rachel Protacio
54f5cc46d7 8138916: Logging write function does not allow for long enough messages
The unified logging framework's vwrite function is updated to allow strings longer than 512 characters, for the sake of messages of non-pre-determined length.

Reviewed-by: coleenp, dsamersoff, mlarsson
2015-11-04 17:18:59 -05:00
Rachel Protacio
e54bd838f9 8140348: Convert TraceSafepoint to Unified Logging
The former -XX:+TraceSafepoint flag is updated to the unified logging framework and is now replaced with -Xlog:safepoint in product mode.

Reviewed-by: coleenp, hseigel
2015-11-04 14:32:51 -05:00
Rachel Protacio
abcfc9b394 8139564: Convert TraceDefaultMethods to Unified Logging
The former -XX:+TraceDefaultMethods flag is updated to the unified logging framework and is now replaced with -Xlog:defaultmethods.

Reviewed-by: acorn, coleenp, hseigel
2015-10-30 16:39:37 -04:00
Goetz Lindenmaier
9744fb1f05 8137260: fix warning after "8046148: JEP 158: Unified JVM Logging"
Reviewed-by: mlarsson, stuefe
2015-09-28 12:57:47 +02:00
David Lindholm
8c46f6af7e 8138637: Remove err_msg from LOG_PREFIX macro
Reviewed-by: brutisso
2015-10-02 10:43:19 +02:00
David Lindholm
1e71f67736 8080775: Better argument formatting for assert() and friends
Reviewed-by: kbarrett, pliden
2015-09-29 11:02:08 +02:00
Marcus Larsson
3c2211a492 8046148: JEP 158: Unified JVM Logging
Reviewed-by: coleenp, sla
2015-09-24 12:36:04 +02:00