equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2011, 2012 Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
59 } |
59 } |
60 |
60 |
61 public static class GetLogger implements Runnable { |
61 public static class GetLogger implements Runnable { |
62 public void run() { |
62 public void run() { |
63 for (int cnt = 0; cnt < ITER_CNT * 8; cnt++) { |
63 for (int cnt = 0; cnt < ITER_CNT * 8; cnt++) { |
64 Logger logger = Logger.getLogger("com.sun.Hello"+cnt/10); |
64 Logger.getLogger("com.sun.Hello"+cnt/10); |
65 if (cnt % 1000 == 0) out.print("1"); |
65 if (cnt % 1000 == 0) out.print("1"); |
66 if (cnt % 10000 == 0) out.println(); |
66 if (cnt % 10000 == 0) out.println(); |
67 } |
67 } |
68 } |
68 } |
69 } |
69 } |