8162146132b0fb9b7c6dc3371ff205edc236ebfatomee * CDDL HEADER START
8162146132b0fb9b7c6dc3371ff205edc236ebfatomee * The contents of this file are subject to the terms of the
8162146132b0fb9b7c6dc3371ff205edc236ebfatomee * Common Development and Distribution License (the "License").
8162146132b0fb9b7c6dc3371ff205edc236ebfatomee * You may not use this file except in compliance with the License.
8162146132b0fb9b7c6dc3371ff205edc236ebfatomee * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
8162146132b0fb9b7c6dc3371ff205edc236ebfatomee * See the License for the specific language governing permissions
8162146132b0fb9b7c6dc3371ff205edc236ebfatomee * and limitations under the License.
8162146132b0fb9b7c6dc3371ff205edc236ebfatomee * When distributing Covered Code, include this CDDL HEADER in each
8162146132b0fb9b7c6dc3371ff205edc236ebfatomee * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
8162146132b0fb9b7c6dc3371ff205edc236ebfatomee * If applicable, add the following below this CDDL HEADER, with the
8162146132b0fb9b7c6dc3371ff205edc236ebfatomee * fields enclosed by brackets "[]" replaced with your own identifying
8162146132b0fb9b7c6dc3371ff205edc236ebfatomee * information: Portions Copyright [yyyy] [name of copyright owner]
8162146132b0fb9b7c6dc3371ff205edc236ebfatomee * CDDL HEADER END
8162146132b0fb9b7c6dc3371ff205edc236ebfatomee * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
8162146132b0fb9b7c6dc3371ff205edc236ebfatomee * Use is subject to license terms.
8162146132b0fb9b7c6dc3371ff205edc236ebfatomee * ident "%Z%%M% %I% %E% SMI"
8162146132b0fb9b7c6dc3371ff205edc236ebfatomee * Regression for 6506495 -DJAVA_DTRACE_MAX_CONSUMERS=N for any N < 8
8162146132b0fb9b7c6dc3371ff205edc236ebfatomee * is treated as if it were 8.
8162146132b0fb9b7c6dc3371ff205edc236ebfatomee "JAVA_DTRACE_MAX_CONSUMERS";
8162146132b0fb9b7c6dc3371ff205edc236ebfatomee public static void
8162146132b0fb9b7c6dc3371ff205edc236ebfatomee Integer property = getIntegerProperty(MAX_CONSUMERS_PROPERTY_NAME);
8162146132b0fb9b7c6dc3371ff205edc236ebfatomee int n = (property == null ? 11 : (max < 1 ? 1 : max));
8162146132b0fb9b7c6dc3371ff205edc236ebfatomee for (int i = 0; i < n; ++i) {
8162146132b0fb9b7c6dc3371ff205edc236ebfatomee for (int i = 0; i < n; ++i) {
8162146132b0fb9b7c6dc3371ff205edc236ebfatomee for (int i = 0; i < n; ++i) {
8162146132b0fb9b7c6dc3371ff205edc236ebfatomee } catch (Exception e) {
8162146132b0fb9b7c6dc3371ff205edc236ebfatomee } catch (Exception e) {
8162146132b0fb9b7c6dc3371ff205edc236ebfatomee } finally {
8162146132b0fb9b7c6dc3371ff205edc236ebfatomee for (int i = 0; i < n; ++i) {