jdk/src/share/classes/com/sun/tools/hat/internal/server/FinalizerObjectsQuery.java
changeset 25798 0b2f54e47bc4
parent 5506 202f599c92aa
equal deleted inserted replaced
25797:671124b407ce 25798:0b2f54e47bc4
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2014, 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.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    35 import com.sun.tools.hat.internal.model.*;
    35 import com.sun.tools.hat.internal.model.*;
    36 import java.util.*;
    36 import java.util.*;
    37 
    37 
    38 public class FinalizerObjectsQuery extends QueryHandler {
    38 public class FinalizerObjectsQuery extends QueryHandler {
    39     public void run() {
    39     public void run() {
    40         Enumeration objs = snapshot.getFinalizerObjects();
    40         Enumeration<?> objs = snapshot.getFinalizerObjects();
    41         startHtml("Objects pending finalization");
    41         startHtml("Objects pending finalization");
    42 
    42 
    43         out.println("<a href='/finalizerSummary/'>Finalizer summary</a>");
    43         out.println("<a href='/finalizerSummary/'>Finalizer summary</a>");
    44 
    44 
    45         out.println("<h1>Objects pending finalization</h1>");
    45         out.println("<h1>Objects pending finalization</h1>");