Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for GC (0.12 sec)

  1. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

       * from GC, as with {@link #awaitClear}. Because there are no guarantees for the order of GC
       * finalization processing, there may still be some unfinished work for the GC to do after this
       * method returns.
       *
       * <p>This method does not create any memory pressure as would be required to cause soft
       * references to be processed.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/AbstractIteratorTest.java

        } catch (NoSuchElementException expected) {
        }
      }
    
    
      @J2ktIncompatible // weak references, details of GC
      @GwtIncompatible // weak references
      @AndroidIncompatible // depends on details of GC
      public void testFreesNextReference() {
        Iterator<Object> itr =
            new AbstractIterator<Object>() {
              @Override
              public Object computeNext() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/GcFinalization.java

       * from GC, as with {@link #awaitClear}. Because there are no guarantees for the order of GC
       * finalization processing, there may still be some unfinished work for the GC to do after this
       * method returns.
       *
       * <p>This method does not create any memory pressure as would be required to cause soft
       * references to be processed.
       *
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/timer/SystemMonitorTarget.java

                return b.toString();
            }).collect(Collectors.joining(",")));
            buf.append("},");
            final GarbageCollectors gc = jvmStats.getGc();
            buf.append("\"gc\":{");
            buf.append(Arrays.stream(gc.getCollectors()).map(c -> {
                final StringBuilder b = new StringBuilder();
                b.append('"').append(StringEscapeUtils.escapeJson(c.getName())).append("\":{");
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/job/ExecJob.java

            final StringBuilder buf = new StringBuilder(100);
            buf.append("-Xlog:gc*,gc+age=trace,safepoint:file=");
            if (logFilePath != null) {
                buf.append(logFilePath);
            } else {
                buf.append(ComponentUtil.getSystemHelper().getLogFilePath());
            }
            buf.append(File.separator);
            buf.append("gc-").append(getExecuteType()).append(".log");
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/api/admin/stats/ApiAdminStatsAction.java

                jvmPoolObj.capacity = p.getTotalCapacity().getBytes();
                return jvmPoolObj;
            }).toArray(n -> new JvmPoolObj[n]);
            final GarbageCollectors gc = jvmStats.getGc();
            jvmObj.gc = Arrays.stream(gc.getCollectors()).map(c -> {
                final JvmGcObj jvmGcObj = new JvmGcObj();
                jvmGcObj.key = c.getName();
                jvmGcObj.count = c.getCollectionCount();
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 12.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

          /*
           * Using weak references here could let us release exceptions earlier, but:
           *
           * 1. On Android, querying a WeakReference blocks if the GC is doing an otherwise-concurrent
           * pass.
           *
           * 2. We would probably choose to compare exceptions using == instead of equals() (for
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/AbstractIteratorTest.java

        } catch (NoSuchElementException expected) {
        }
      }
    
    
      @J2ktIncompatible // weak references, details of GC
      @GwtIncompatible // weak references
      @AndroidIncompatible // depends on details of GC
      public void testFreesNextReference() {
        Iterator<Object> itr =
            new AbstractIterator<Object>() {
              @Override
              public Object computeNext() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/ExecutionList.java

        RunnableExecutorPair list;
        synchronized (this) {
          if (executed) {
            return;
          }
          executed = true;
          list = runnables;
          runnables = null; // allow GC to free listeners even if this stays around for a while.
        }
        // If we succeeded then list holds all the runnables we to execute. The pairs in the stack are
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java

                // System.out.println(resultData.toString());
            }
    
            long margin = 5000000L;
            System.gc();
            for (int i = 0; i < 30; i++) {
                if (MemoryUtil.getUsedMemory() < current + margin) {
                    break;
                }
                System.gc();
                Thread.sleep(1000L);
            }
            final long usedMemory = MemoryUtil.getUsedMemory();
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 38.6K bytes
    - Viewed (0)
Back to top