equal
deleted
inserted
replaced
399 |
399 |
400 // Returns true if the current GC supports control of its concurrent |
400 // Returns true if the current GC supports control of its concurrent |
401 // phase via requestConcurrentGCPhase(). If false, a request will |
401 // phase via requestConcurrentGCPhase(). If false, a request will |
402 // always fail. |
402 // always fail. |
403 public native boolean supportsConcurrentGCPhaseControl(); |
403 public native boolean supportsConcurrentGCPhaseControl(); |
404 |
|
405 // Returns an array of concurrent phase names provided by this |
|
406 // collector. These are the names recognized by |
|
407 // requestConcurrentGCPhase(). |
|
408 public native String[] getConcurrentGCPhases(); |
|
409 |
404 |
410 // Attempt to put the collector into the indicated concurrent phase, |
405 // Attempt to put the collector into the indicated concurrent phase, |
411 // and attempt to remain in that state until a new request is made. |
406 // and attempt to remain in that state until a new request is made. |
412 // |
407 // |
413 // Returns immediately if already in the requested phase. |
408 // Returns immediately if already in the requested phase. |