Mercurial > hg > graal-compiler
comparison src/share/vm/prims/jvmtiManageCapabilities.cpp @ 1213:6deeaebad47a
6902182: 4/4 Starting with jdwp agent should not incur performance penalty
Summary: Rename can_post_exceptions support to can_post_on_exceptions. Add support for should_post_on_exceptions flag to permit per JavaThread optimizations.
Reviewed-by: never, kvn, dcubed
Contributed-by: tom.deneau@amd.com
author | dcubed |
---|---|
date | Mon, 01 Feb 2010 17:35:05 -0700 |
parents | 8e7adf982378 |
children | b4776199210f |
comparison
equal
deleted
inserted
replaced
1196:f3345b7b01b4 | 1213:6deeaebad47a |
---|---|
1 /* | 1 /* |
2 * Copyright 2003-2006 Sun Microsystems, Inc. All Rights Reserved. | 2 * Copyright 2003-2010 Sun Microsystems, Inc. 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. |
355 avail.can_tag_objects); // disable sharing in onload phase | 355 avail.can_tag_objects); // disable sharing in onload phase |
356 JvmtiExport::set_can_access_local_variables( | 356 JvmtiExport::set_can_access_local_variables( |
357 avail.can_access_local_variables || | 357 avail.can_access_local_variables || |
358 avail.can_redefine_classes || | 358 avail.can_redefine_classes || |
359 avail.can_retransform_classes); | 359 avail.can_retransform_classes); |
360 JvmtiExport::set_can_post_exceptions( | 360 JvmtiExport::set_can_post_on_exceptions( |
361 avail.can_generate_exception_events || | 361 avail.can_generate_exception_events || |
362 avail.can_generate_frame_pop_events || | 362 avail.can_generate_frame_pop_events || |
363 avail.can_generate_method_exit_events); | 363 avail.can_generate_method_exit_events); |
364 JvmtiExport::set_can_post_breakpoint(avail.can_generate_breakpoint_events); | 364 JvmtiExport::set_can_post_breakpoint(avail.can_generate_breakpoint_events); |
365 JvmtiExport::set_can_post_field_access(avail.can_generate_field_access_events); | 365 JvmtiExport::set_can_post_field_access(avail.can_generate_field_access_events); |