src/jdk.jfr/share/classes/jdk/jfr/internal/Utils.java
branchJEP-349-branch
changeset 58129 7b751fe181a5
parent 57690 9316d02dd4a5
equal deleted inserted replaced
58121:6f8f18ac1d54 58129:7b751fe181a5
   599 
   599 
   600     public static void takeNap(long millis) {
   600     public static void takeNap(long millis) {
   601         try {
   601         try {
   602             Thread.sleep(millis);
   602             Thread.sleep(millis);
   603         } catch (InterruptedException e) {
   603         } catch (InterruptedException e) {
       
   604             // ok
   604         }
   605         }
   605     }
   606     }
   606 
   607 
   607     public static void notifyFlush() {
   608     public static void notifyFlush() {
   608         synchronized (flushObject) {
   609         synchronized (flushObject) {