Skip to content

Instantly share code, notes, and snippets.

@anildigital
Created January 25, 2012 19:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anildigital/1678127 to your computer and use it in GitHub Desktop.
Save anildigital/1678127 to your computer and use it in GitHub Desktop.
jruby-1.6.5 :024 > Java::OrgJrubyProf::JRubyProf.methods
=> ["running", "isRunning", "startTracing", "before", "java_send", "stopTracing", "running?", "is_running", "java_method", "is_running?", "start_tracing", "stop_tracing", "after", "inherited", "registerNatives", "register_natives", "new", "singleton_class", "java_class", "[]", "field_accessor", "field_writer", "java_class=", "field_reader", "method_added", "yaml_tag_subclasses?", "inheritable_attributes", "cattr_reader", "descendants", "class_inheritable_hash_writer", "json_creatable?", "subclasses", "class_inheritable_accessor", "class_inheritable_writer", "extlib_inheritable_reader", "class_inheritable_array", "to_yaml", "read_inheritable_attribute", "class_inheritable_array_writer", "cattr_accessor", "allocate", "duplicable?", "class_inheritable_reader", "class_attribute", "class_inheritable_hash", "superclass", "superclass_delegating_accessor", "extlib_inheritable_accessor", "write_inheritable_hash", "reset_inheritable_attributes", "write_inheritable_attribute", "cattr_writer", "extlib_inheritable_writer", "write_inheritable_array", "const_get", "public_instance_methods", "pretty_print_cycle", "autoload?", "mattr_reader", "parent", "anonymous?", "freeze", "redefine_method", "included_modules", "==", "mattr_writer", "attr_accessor_with_default", "class_exec", "attr_internal_reader", "ancestors", "public_class_method", "instance_method", "post_mortem_method", "<", "yaml_as", "alias_attribute", "protected_method_defined?", ">", "delegate", "debug_method", "remove_possible_method", "local_constants", "===", "private_instance_methods", "hash", "attr_internal_writer", "class_variables", "<=", "parent_name", "method_defined?", "rake_original_const_missing", "instance_methods", "class_variable_defined?", "pretty_print", "name", "attr_internal", "private_method_defined?", "parents", "attr_internal_accessor", "const_set", "autoload", "include?", "rake_extension", "protected_instance_methods", "forward_message", "module_eval", "module_exec", "instance_method_names", "reachable?", "mattr_accessor", "deprecate", "yaml_tag_class_name", "abstract_method", "<=>", "private_class_method", "constants", "alias_method_chain", "yaml_tag_read_class", "local_constant_names", "to_s", "synchronize", "class_eval", "public_method_defined?", ">=", "method_names", "const_defined?", "trace_method_execution_no_scope", "trace_method_execution", "trace_method_execution_with_scope", "trace_execution_unscoped", "trace_execution_scoped_footer", "pop_flag!", "traced?", "get_metric_stats", "get_stats_scoped", "main_stat", "get_stats_unscoped", "agent_instance", "trace_execution_scoped", "log_errors", "push_flag!", "trace_disabled?", "trace_execution_scoped_header", "stat_engine", "set_if_nil", "remove_method_tracer", "add_method_tracer", "assemble_code_header", "code_to_eval", "set_deduct_call_time_based_on_metric", "default_metric_name_code", "check_for_illegal_keys!", "method_with_push_scope", "unrecognized_keys", "newrelic_method_exists?", "method_without_push_scope", "validate_options", "check_for_push_scope_and_metric", "traced_method_exists?", "any_unrecognized_keys?", "unloadable", "const_missing", "returning", "present?", "`", "to_yaml_style", "html_safe?", "include_class", "as_json", "to_param", "java_kind_of?", "__jtrap", "with_options", "copy_instance_variables_from", "to_yaml_properties", "taguri", "acts_like?", "try", "local_methods", "presence", "blank?", "to_json", "handle_different_imports", "instance_variable_names", "taguri=", "to_query", "instance_values", "require_association", "require_dependency", "require_or_load", "require", "load", "load_dependency", "decode64", "encode64", "decode_b", "b64encode", "pretty_print_inspect", "pretty_print_instance_variables", "java_signature", "methods", "breakpoint", "enable_warnings", "silence_stream", "extend", "nil?", "object_id", "tainted?", "method", "is_a?", "instance_variable_defined?", "instance_variable_get", "pretty_inspect", "instance_variable_set", "silence_stderr", "gem", "display", "send", "private_methods", "enum_for", "equal?", "com", "start", "to_java", "type", "instance_of?", "id", "taint", "class", "java_annotation", "instance_variables", "require_library_or_gem", "org", "to_a", "__send__", "=~", "protected_methods", "inspect", "__id__", "java_implements", "tap", "frozen?", "java", "respond_to?", "instance_eval", "java_package", "untaint", "clone", "java_name", "suppress_warnings", "to_enum", "singleton_methods", "with_warnings", "eql?", "instance_exec", "silence_warnings", "suppress", "kind_of?", "dup", "java_require", "javax", "binding_n", "debugger", "public_methods"]
jruby-1.6.5 :019 > Java::OrgJrubyProf::JRubyProf.methods
=> ["running", "print_tree_html", "print_graph_text", "isRunning", "startTracing", "before", "java_send", "stopTracing", "running?", "is_running", "stop", "print_call_tree", "java_method", "is_running?", "print_flat_text", "print_graph_html", "profile", "start_tracing", "stop_tracing", "after", "start", "inherited", "registerNatives", "register_natives", "new", "singleton_class", "java_class", "[]", "field_accessor", "java_class=", "field_writer", "field_reader", "method_added", "allocate", "superclass", "const_get", "public_instance_methods", "autoload?", "freeze", "const_missing", "included_modules", "==", "class_exec", "instance_method", "public_class_method", "ancestors", "<", "protected_method_defined?", ">", "===", "private_instance_methods", "hash", "class_variables", "<=", "method_defined?", "instance_methods", "class_variable_defined?", "name", "private_method_defined?", "const_set", "autoload", "include?", "protected_instance_methods", "module_eval", "module_exec", "<=>", "private_class_method", "constants", "to_s", "public_method_defined?", "class_eval", ">=", "const_defined?", "handle_different_imports", "include_class", "local_methods", "java_kind_of?", "__jtrap", "java_signature", "methods", "extend", "nil?", "object_id", "method", "tainted?", "is_a?", "instance_variable_get", "instance_variable_defined?", "instance_variable_set", "display", "send", "private_methods", "enum_for", "equal?", "com", "to_java", "type", "instance_of?", "id", "taint", "class", "java_annotation", "instance_variables", "org", "to_a", "__send__", "=~", "protected_methods", "inspect", "__id__", "java_implements", "tap", "frozen?", "java", "respond_to?", "instance_eval", "java_package", "untaint", "clone", "java_name", "to_enum", "singleton_methods", "eql?", "instance_exec", "dup", "kind_of?", "java_require", "javax", "public_methods"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment