cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From froehl...@apache.org
Subject cvs commit: xml-cocoon2/src/java/org/apache/cocoon/components/store StoreJanitorImpl.java
Date Sat, 26 Jan 2002 16:54:43 GMT
froehlich    02/01/26 08:54:42

  Modified:    src/java/org/apache/cocoon/components/store
                        StoreJanitorImpl.java
  Log:
  added better debugging messages
  
  Revision  Changes    Path
  1.3       +2 -4      xml-cocoon2/src/java/org/apache/cocoon/components/store/StoreJanitorImpl.java
  
  Index: StoreJanitorImpl.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/store/StoreJanitorImpl.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- StoreJanitorImpl.java	22 Jan 2002 00:17:12 -0000	1.2
  +++ StoreJanitorImpl.java	26 Jan 2002 16:54:42 -0000	1.3
  @@ -137,10 +137,8 @@
        */
       private boolean memoryLow() {
           if (this.getLogger().isDebugEnabled()) {
  -            this.getLogger().debug("getJVM().totalMemory()=" + this.getJVM().totalMemory());
  -            this.getLogger().debug("getHeapsize()=" + this.getHeapsize());
  -            this.getLogger().debug("getJVM().freeMemory()=" + this.getJVM().freeMemory());
  -            this.getLogger().debug("getFreememory()=" + this.getFreememory());
  +            this.getLogger().debug("Memory is low=" 
  +            + (this.getJVM().totalMemory() > this.getHeapsize() && this.getJVM().freeMemory()
< this.getFreememory()));
           }
           return this.getJVM().totalMemory() > this.getHeapsize() && this.getJVM().freeMemory()
< this.getFreememory();
       }
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org


Mime
View raw message