comparison src/share/vm/ci/ciEnv.hpp @ 14518:d8041d695d19

Merged with jdk9/dev/hotspot changeset 3812c088b945
author twisti
date Tue, 11 Mar 2014 18:45:59 -0700
parents 096c224171c4 96d2c94bbdd0
children 4ca6dc0799b6
comparison
equal deleted inserted replaced
14141:f97c5ec83832 14518:d8041d695d19
1 /* 1 /*
2 * Copyright (c) 1999, 2012, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 1999, 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.
67 67
68 // Cache Jvmti state 68 // Cache Jvmti state
69 bool _jvmti_can_hotswap_or_post_breakpoint; 69 bool _jvmti_can_hotswap_or_post_breakpoint;
70 bool _jvmti_can_access_local_variables; 70 bool _jvmti_can_access_local_variables;
71 bool _jvmti_can_post_on_exceptions; 71 bool _jvmti_can_post_on_exceptions;
72 bool _jvmti_can_pop_frame;
72 73
73 // Cache DTrace flags 74 // Cache DTrace flags
74 bool _dtrace_extended_probes; 75 bool _dtrace_extended_probes;
75 bool _dtrace_monitor_probes; 76 bool _dtrace_monitor_probes;
76 bool _dtrace_method_probes; 77 bool _dtrace_method_probes;
330 bool break_at_compile() { return _break_at_compile; } 331 bool break_at_compile() { return _break_at_compile; }
331 void set_break_at_compile(bool z) { _break_at_compile = z; } 332 void set_break_at_compile(bool z) { _break_at_compile = z; }
332 333
333 // Cache Jvmti state 334 // Cache Jvmti state
334 void cache_jvmti_state(); 335 void cache_jvmti_state();
336 bool jvmti_state_changed() const;
337 bool should_retain_local_variables() const;
335 bool jvmti_can_hotswap_or_post_breakpoint() const { return _jvmti_can_hotswap_or_post_breakpoint; } 338 bool jvmti_can_hotswap_or_post_breakpoint() const { return _jvmti_can_hotswap_or_post_breakpoint; }
336 bool jvmti_can_access_local_variables() const { return _jvmti_can_access_local_variables; }
337 bool jvmti_can_post_on_exceptions() const { return _jvmti_can_post_on_exceptions; } 339 bool jvmti_can_post_on_exceptions() const { return _jvmti_can_post_on_exceptions; }
338 340
339 // Cache DTrace flags 341 // Cache DTrace flags
340 void cache_dtrace_flags(); 342 void cache_dtrace_flags();
341 bool dtrace_extended_probes() const { return _dtrace_extended_probes; } 343 bool dtrace_extended_probes() const { return _dtrace_extended_probes; }
449 451
450 // RedefineClasses support 452 // RedefineClasses support
451 void metadata_do(void f(Metadata*)) { _factory->metadata_do(f); } 453 void metadata_do(void f(Metadata*)) { _factory->metadata_do(f); }
452 454
453 // Dump the compilation replay data for the ciEnv to the stream. 455 // Dump the compilation replay data for the ciEnv to the stream.
456 void dump_replay_data(int compile_id);
457 void dump_inline_data(int compile_id);
454 void dump_replay_data(outputStream* out); 458 void dump_replay_data(outputStream* out);
455 void dump_replay_data_unsafe(outputStream* out); 459 void dump_replay_data_unsafe(outputStream* out);
460 void dump_compile_data(outputStream* out);
456 }; 461 };
457 462
458 #endif // SHARE_VM_CI_CIENV_HPP 463 #endif // SHARE_VM_CI_CIENV_HPP