hotspot/src/share/vm/utilities/accessFlags.hpp
changeset 15591 b8aa0577f137
parent 13891 35dabd293e56
child 16689 efce070b8d42
equal deleted inserted replaced
15469:7719efe7b23d 15591:b8aa0577f137
     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;