[hg] releases: fixing Bug #225299 Detect C/C++ specific performa...

  • From: Alexander Simon < >
  • To:
  • Subject: [hg] releases: fixing Bug #225299 Detect C/C++ specific performa...
  • Date: Fri, 08 Feb 2013 08:08:04 -0800

changeset 2a6c9cee8a1c in releases ((none))
details: http://hg.netbeans.org/releases/rev/2a6c9cee8a1c
description:
        fixing Bug #225299 Detect C/C++ specific performance problem
        - turn off detector

diffstat:

 
dlight.libs.common/src/org/netbeans/modules/dlight/libs/common/PerformanceLogger.java
 |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (21 lines):

diff --git 
a/dlight.libs.common/src/org/netbeans/modules/dlight/libs/common/PerformanceLogger.java
 
b/dlight.libs.common/src/org/netbeans/modules/dlight/libs/common/PerformanceLogger.java
--- 
a/dlight.libs.common/src/org/netbeans/modules/dlight/libs/common/PerformanceLogger.java
+++ 
b/dlight.libs.common/src/org/netbeans/modules/dlight/libs/common/PerformanceLogger.java
@@ -203,13 +203,15 @@
             }
         } catch (SecurityException ex) {
         }
-        String enabled = 
System.getProperty("dlight.libs.common.profiling.enabled", "auto"); //NOI18N
+        String enabled = 
System.getProperty("dlight.libs.common.profiling.enabled", "false"); //NOI18N
         if ("true".equals(enabled)) { //NOI18N
             PROFILING_ENABLED = true;
         } else if ("false".equals(enabled)) { //NOI18N
             PROFILING_ENABLED = false;
+        }  else if ("auto".equals(enabled)) { //NOI18N
+            PROFILING_ENABLED = !isDebugMode;
         } else {
-            PROFILING_ENABLED = !isDebugMode;
+            PROFILING_ENABLED = false;
         }
         boolean cpu = true;
         if (PROFILING_ENABLED) {

[hg] releases: fixing Bug #225299 Detect C/C++ specific performa...

Alexander Simon 02/01/2013

<Possible follow-up(s)>

[hg] releases: fixing Bug #225299 Detect C/C++ specific performa...

Alexander Simon 02/01/2013

[hg] releases: fixing Bug #225299 Detect C/C++ specific performa...

Alexander Simon 02/07/2013

[hg] releases: fixing Bug #225299 Detect C/C++ specific performa...

Alexander Simon 02/08/2013

Project Features

About this Project

CND was started in November 2009, is owned by DimaZh, and has 183 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20160708.bf2ac18). © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close