13350Stomee#!/bin/ksh -p 23350Stomee# 33350Stomee# CDDL HEADER START 43350Stomee# 53350Stomee# The contents of this file are subject to the terms of the 63350Stomee# Common Development and Distribution License (the "License"). 73350Stomee# You may not use this file except in compliance with the License. 83350Stomee# 93350Stomee# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 103350Stomee# or http://www.opensolaris.org/os/licensing. 113350Stomee# See the License for the specific language governing permissions 123350Stomee# and limitations under the License. 133350Stomee# 143350Stomee# When distributing Covered Code, include this CDDL HEADER in each 153350Stomee# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 163350Stomee# If applicable, add the following below this CDDL HEADER, with the 173350Stomee# fields enclosed by brackets "[]" replaced with your own identifying 183350Stomee# information: Portions Copyright [yyyy] [name of copyright owner] 193350Stomee# 203350Stomee# CDDL HEADER END 213350Stomee# 223350Stomee 233350Stomee# 243350Stomee# Copyright 2007 Sun Microsystems, Inc. All rights reserved. 253350Stomee# Use is subject to license terms. 263350Stomee# 273350Stomee 283350Stomee# ident "%Z%%M% %I% %E% SMI" 293350Stomee 303350Stomee############################################################################ 313350Stomee# ASSERTION: 323350Stomee# Fixed bug 6506495 -DJAVA_DTRACE_MAX_CONSUMERS=N for any N < 8 is 333350Stomee# treated as if it were 8. 343350Stomee# 353350Stomee# SECTION: Java API 363350Stomee# 373350Stomee############################################################################ 383350Stomee 39*3483Stomeejava -cp test.jar TestMaxConsumers 40*3483Stomeejava -DJAVA_DTRACE_MAX_CONSUMERS=-1 -cp test.jar TestMaxConsumers 41*3483Stomeejava -DJAVA_DTRACE_MAX_CONSUMERS=0 -cp test.jar TestMaxConsumers 42*3483Stomeejava -DJAVA_DTRACE_MAX_CONSUMERS=1 -cp test.jar TestMaxConsumers 43*3483Stomeejava -DJAVA_DTRACE_MAX_CONSUMERS=2 -cp test.jar TestMaxConsumers 44*3483Stomeejava -DJAVA_DTRACE_MAX_CONSUMERS=7 -cp test.jar TestMaxConsumers 45*3483Stomeejava -DJAVA_DTRACE_MAX_CONSUMERS=8 -cp test.jar TestMaxConsumers 46*3483Stomeejava -DJAVA_DTRACE_MAX_CONSUMERS=9 -cp test.jar TestMaxConsumers 47*3483Stomeejava -DJAVA_DTRACE_MAX_CONSUMERS=19 -cp test.jar TestMaxConsumers 48