293 bool is_public () const { return flags().is_public(); }
294 bool is_private () const { return flags().is_private(); }
295 bool is_protected () const { return flags().is_protected(); }
296 bool is_static () const { return flags().is_static(); }
297 bool is_final () const { return flags().is_final(); }
298 bool is_synchronized() const { return flags().is_synchronized(); }
299 bool is_native () const { return flags().is_native(); }
300 bool is_interface () const { return flags().is_interface(); }
301 bool is_abstract () const { return flags().is_abstract(); }
302 bool is_strict () const { return flags().is_strict(); }
303
304 // Other flags
305 bool is_empty_method() const;
306 bool is_vanilla_constructor() const;
307 bool is_final_method() const { return is_final() || holder()->is_final(); }
308 bool has_loops () const;
309 bool has_jsrs () const;
310 bool is_accessor () const;
311 bool is_initializer () const;
312 bool can_be_statically_bound() const { return _can_be_statically_bound; }
313 void dump_replay_data(outputStream* st);
314 bool is_boxing_method() const;
315 bool is_unboxing_method() const;
316
317 // Print the bytecodes of this method.
318 void print_codes_on(outputStream* st);
319 void print_codes() {
320 print_codes_on(tty);
321 }
322 void print_codes_on(int from, int to, outputStream* st);
323
324 // Print the name of this method in various incarnations.
325 void print_name(outputStream* st = tty);
326 void print_short_name(outputStream* st = tty);
327 };
328
329 #endif // SHARE_VM_CI_CIMETHOD_HPP
|
293 bool is_public () const { return flags().is_public(); }
294 bool is_private () const { return flags().is_private(); }
295 bool is_protected () const { return flags().is_protected(); }
296 bool is_static () const { return flags().is_static(); }
297 bool is_final () const { return flags().is_final(); }
298 bool is_synchronized() const { return flags().is_synchronized(); }
299 bool is_native () const { return flags().is_native(); }
300 bool is_interface () const { return flags().is_interface(); }
301 bool is_abstract () const { return flags().is_abstract(); }
302 bool is_strict () const { return flags().is_strict(); }
303
304 // Other flags
305 bool is_empty_method() const;
306 bool is_vanilla_constructor() const;
307 bool is_final_method() const { return is_final() || holder()->is_final(); }
308 bool has_loops () const;
309 bool has_jsrs () const;
310 bool is_accessor () const;
311 bool is_initializer () const;
312 bool can_be_statically_bound() const { return _can_be_statically_bound; }
313 bool is_boxing_method() const;
314 bool is_unboxing_method() const;
315
316 // Replay data methods
317 void dump_name_as_ascii(outputStream* st);
318 void dump_replay_data(outputStream* st);
319
320 // Print the bytecodes of this method.
321 void print_codes_on(outputStream* st);
322 void print_codes() {
323 print_codes_on(tty);
324 }
325 void print_codes_on(int from, int to, outputStream* st);
326
327 // Print the name of this method in various incarnations.
328 void print_name(outputStream* st = tty);
329 void print_short_name(outputStream* st = tty);
330 };
331
332 #endif // SHARE_VM_CI_CIMETHOD_HPP
|