equal
deleted
inserted
replaced
1 #!/bin/sh |
1 #!/bin/sh |
2 |
2 |
3 # |
3 # |
4 # Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved. |
4 # Copyright (c) 2009, 2013 Oracle and/or its affiliates. All rights reserved. |
5 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
5 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
6 # |
6 # |
7 # This code is free software; you can redistribute it and/or modify it |
7 # This code is free software; you can redistribute it and/or modify it |
8 # under the terms of the GNU General Public License version 2 only, as |
8 # under the terms of the GNU General Public License version 2 only, as |
9 # published by the Free Software Foundation. |
9 # published by the Free Software Foundation. |
60 public static void main(String[] args) { |
60 public static void main(String[] args) { |
61 for (int i = 0; i < 10; i++) { |
61 for (int i = 0; i < 10; i++) { |
62 System.out.println("top of loop"); // @1 breakpoint |
62 System.out.println("top of loop"); // @1 breakpoint |
63 init(1000000); |
63 init(1000000); |
64 objList.clear(); |
64 objList.clear(); |
|
65 System.gc(); |
65 System.out.println("bottom of loop"); // @1 breakpoint |
66 System.out.println("bottom of loop"); // @1 breakpoint |
66 } |
67 } |
67 System.out.println("end of test"); // @1 breakpoint |
68 System.out.println("end of test"); // @1 breakpoint |
68 } |
69 } |
69 } |
70 } |