comparison src/share/vm/utilities/accessFlags.hpp @ 8021:8d9fc28831cc

7182152: Instrumentation hot swap test incorrect monitor count Summary: Add/refine new tracing support using -XX:TraceRedefineClasses=16384. Reviewed-by: coleenp, acorn, sspitsyn
author dcubed
date Wed, 06 Feb 2013 14:31:37 -0800
parents 9191895df19d
children b84fd7d73702
comparison
equal deleted inserted replaced
7988:f3ea1af9207a 8021:8d9fc28831cc
1 /* 1 /*
2 * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 1997, 2013, 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.
237 jint as_int() const { return _flags; } 237 jint as_int() const { return _flags; }
238 238
239 inline friend AccessFlags accessFlags_from(jint flags); 239 inline friend AccessFlags accessFlags_from(jint flags);
240 240
241 // Printing/debugging 241 // Printing/debugging
242 #if INCLUDE_JVMTI
243 void print_on(outputStream* st) const;
244 #else
242 void print_on(outputStream* st) const PRODUCT_RETURN; 245 void print_on(outputStream* st) const PRODUCT_RETURN;
246 #endif
243 }; 247 };
244 248
245 inline AccessFlags accessFlags_from(jint flags) { 249 inline AccessFlags accessFlags_from(jint flags) {
246 AccessFlags af; 250 AccessFlags af;
247 af._flags = flags; 251 af._flags = flags;