Searched defs:now (Results 1 - 25 of 39) sorted by relevance

12

/openjdk7/jdk/test/java/util/TimeZone/
H A DDaylightTimeTest.java44 long now = System.currentTimeMillis();
46 boolean found = findDSTTransition(tz, now);
53 now = System.currentTimeMillis();
55 found = findDSTTransition(tz, now);
58 tz.getID(), found, now);
78 * Returns true if it's `now' in DST or there's any
79 * standard-to-daylight transition within 50 years after `now'.
81 private static boolean findDSTTransition(TimeZone tz, long now) { argument
83 cal.setTimeInMillis(now);
87 for (long t = now;
[all...]
/openjdk7/hotspot/src/share/vm/memory/
H A DgenMarkSweep.cpp123 guarantee(_root_refs_stack->length() == 0, "should be empty by now");
188 jlong now = os::javaTimeNanos() / NANOSECS_PER_MILLISEC; local
189 gch->update_time_of_last_gc(now);
320 assert(_marking_stack.is_empty(), "stack should be empty by now");
413 // All pointers are now adjusted, move objects accordingly
H A DgenCollectedHeap.hpp336 // to "now".
337 void update_time_of_last_gc(jlong now) { argument
339 _gens[i]->update_time_of_last_gc(now);
341 perm_gen()->update_time_of_last_gc(now);
H A Dgeneration.hpp163 // This properly belongs in the collector, but for now this
413 // Time (in ms) when we were last collected or now if a collection is
415 virtual jlong time_of_last_gc(jlong now) { argument
416 // Both _time_of_last_gc and now are set using a time source
421 if (now < _time_of_last_gc) {
422 warning("time warp: "INT64_FORMAT" to "INT64_FORMAT, _time_of_last_gc, now);
428 virtual void update_time_of_last_gc(jlong now) { argument
429 _time_of_last_gc = now;
H A DdefNewGeneration.cpp622 // This is now done here because of the piece-meal mangling which
633 assert(to()->is_empty(), "to space should be empty now");
679 jlong now = os::javaTimeNanos() / NANOSECS_PER_MILLISEC; local
680 update_time_of_last_gc(now);
H A DreferenceProcessor.cpp50 jlong now = os::javaTimeNanos() / NANOSECS_PER_MILLISEC; local
53 _soft_ref_timestamp_clock = now;
162 jlong now = os::javaTimeNanos() / NANOSECS_PER_MILLISEC; local
167 if (now < _soft_ref_timestamp_clock) {
169 _soft_ref_timestamp_clock, now);
172 // The values of now and _soft_ref_timestamp_clock are set using
177 if (now > _soft_ref_timestamp_clock) {
178 _soft_ref_timestamp_clock = now;
179 java_lang_ref_SoftReference::set_clock(now);
209 // now
[all...]
/openjdk7/jdk/src/solaris/native/sun/nio/ch/
H A DEPollArrayWrapper.c47 jlong start, now; local
60 now = t.tv_sec * 1000 + t.tv_usec / 1000;
61 diff = now - start;
66 start = now;
H A DPollArrayWrapper.c44 jlong start, now; local
57 now = t.tv_sec * 1000 + t.tv_usec / 1000;
58 diff = now - start;
63 start = now;
H A DDevPollArrayWrapper.c76 jlong start, now; local
90 now = t.tv_sec * 1000 + t.tv_usec / 1000;
91 diff = now - start;
96 start = now;
/openjdk7/jdk/src/share/classes/sun/security/x509/
H A DCertificateValidity.java246 Date now = new Date();
247 valid(now);
252 * @param now the Date against which to compare the validity
261 public void valid(Date now) argument
268 if (notBefore.after(now)) {
272 if (notAfter.before(now)) {
H A DPrivateKeyUsageExtension.java194 Date now = new Date();
195 valid(now);
207 public void valid(Date now) argument
214 if (notBefore.after(now)) {
218 if (notAfter.before(now)) {
/openjdk7/jdk/src/share/classes/javax/swing/
H A DTimerQueue.java124 + now()));
184 delayedTimer.setTime(now()
237 private static long now() { method in class:TimerQueue
268 return unit.convert(time - now(), TimeUnit.NANOSECONDS);
/openjdk7/hotspot/src/share/vm/gc_implementation/g1/
H A DconcurrentMarkThread.cpp143 double now = os::elapsedTime(); local
145 jlong sleep_time_ms = mmu_tracker->when_ms(now, remark_prediction_ms);
181 double now = os::elapsedTime(); local
183 jlong sleep_time_ms = mmu_tracker->when_ms(now, cleanup_prediction_ms);
279 // We now want to allow clearing of the marking bitmap to be
/openjdk7/hotspot/src/share/vm/gc_implementation/shared/
H A DconcurrentGCThread.cpp132 double now = os::elapsedTime(); local
133 guarantee((now - _suspend_all_start) * 1000.0 <
/openjdk7/jdk/src/solaris/native/com/sun/management/
H A DMacosxOperatingSystem.c94 struct timeval now; local
133 if (gettimeofday(&now, NULL) < 0) {
137 jlong time = TIME_VALUE_TO_MICROSECONDS(now) * ncpus;
/openjdk7/jdk/test/sample/chatserver/
H A DChatTest.java338 private static String readAvailableString(Reader reader, boolean now) throws IOException { argument
341 if (now && !reader.ready()) {
/openjdk7/hotspot/src/share/vm/classfile/
H A DaltHashing.cpp44 jlong now = os::javaTimeMillis(); local
51 (jint) (((julong)now) >> 32),
52 (jint) now,
/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/
H A DKerberosTime.java254 KerberosTime now = new KerberosTime(KerberosTime.NOW);
256 if (java.lang.Math.abs(kerberosTime - now.kerberosTime) >
266 public boolean inClockSkew(int clockSkew, KerberosTime now) { argument
267 if (java.lang.Math.abs(kerberosTime - now.kerberosTime) >
/openjdk7/hotspot/src/share/vm/gc_implementation/parallelScavenge/
H A DpsMarkSweep.cpp567 assert(_marking_stack.is_empty(), "stack should be empty by now");
661 // All pointers are now adjusted, move objects accordingly
682 jlong now = os::javaTimeNanos() / NANOSECS_PER_MILLISEC; local
683 jlong ret_val = now - _time_of_last_gc;
/openjdk7/jdk/src/solaris/native/java/net/
H A Dbsd_close.c365 struct timeval now; local
366 gettimeofday(&now, NULL);
367 prevtime = now.tv_sec * 1000 + now.tv_usec / 1000;
401 struct timeval now; local
402 gettimeofday(&now, NULL);
403 newtime = now.tv_sec * 1000 + now.tv_usec / 1000;
/openjdk7/jdk/test/java/lang/management/ThreadMXBean/
H A DSynchronizationStatistics.java177 long totalBlockedTimeMs(long now) { argument
178 long t = totalBlockedEnterTime + (now - blockingBaseTime);
186 long totalWaitTimeMs(long now) { argument
187 long t = totalWaitTime + (now - blockingBaseTime);
229 long now = System.nanoTime();
230 addWaitTime(now - base);
246 long now = System.nanoTime();
247 addBlockedEnterTime(now - base);
260 long now = System.nanoTime();
261 addBlockedEnterTime(now
[all...]
/openjdk7/jdk/src/share/classes/java/util/concurrent/
H A DScheduledThreadPoolExecutor.java174 final long now() { method in class:ScheduledThreadPoolExecutor
234 return unit.convert(time - now(), TimeUnit.NANOSECONDS);
497 return now() +
H A DForkJoinPool.java1078 long now = System.nanoTime();
1079 nanos -= now - last;
1080 last = now;
1250 * @param now if true, unconditionally terminate, else only
1252 * @return true if now terminating or terminated
1254 private boolean tryTerminate(boolean now) { argument
1257 if (!now) {
/openjdk7/hotspot/src/share/vm/runtime/
H A Dsweeper.cpp216 jlong now = os::javaTimeMillis(); local
218 jlong curr_interval = now - _last_was_full;
502 jlong now = os::javaTimeMillis(); local
504 jlong curr_interval = now - _last_was_full;
/openjdk7/jdk/src/windows/native/com/sun/management/
H A DOperatingSystem_md.c341 clock_t now; local
342 now = clock();
350 if (now - query->lastUpdate > MIN_UPDATE_INTERVAL) {
354 query->lastUpdate = now;
506 //ok, now we have enough to enumerate all processors.
568 //now, fetch the counters.
669 //ok, now we have enough to enumerate all processes
695 // ok, now we have enough to enumerate all processes
719 //now, fetch the counters.

Completed in 310 milliseconds

12