8074841: Resolve disabled warnings for the JVMTI demo compiledMethodLoad
8074842: Resolve disabled warnings for the JVMTI demo waiters Reviewed-by: alanb, ihse, dsamersoff
This commit is contained in:
parent
6a297b5c2b
commit
e8b15600ac
@ -316,13 +316,13 @@ define SetupJVMTIDemo
|
|||||||
endif
|
endif
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call SetupJVMTIDemo,compiledMethodLoad, agent_util, , , , , , , , pointer-to-int-cast format, , format))
|
$(eval $(call SetupJVMTIDemo,compiledMethodLoad, agent_util))
|
||||||
$(eval $(call SetupJVMTIDemo,gctest, agent_util))
|
$(eval $(call SetupJVMTIDemo,gctest, agent_util))
|
||||||
$(eval $(call SetupJVMTIDemo,heapTracker, agent_util java_crw_demo))
|
$(eval $(call SetupJVMTIDemo,heapTracker, agent_util java_crw_demo))
|
||||||
$(eval $(call SetupJVMTIDemo,heapViewer, agent_util))
|
$(eval $(call SetupJVMTIDemo,heapViewer, agent_util))
|
||||||
$(eval $(call SetupJVMTIDemo,minst, agent_util java_crw_demo))
|
$(eval $(call SetupJVMTIDemo,minst, agent_util java_crw_demo))
|
||||||
$(eval $(call SetupJVMTIDemo,mtrace, agent_util java_crw_demo))
|
$(eval $(call SetupJVMTIDemo,mtrace, agent_util java_crw_demo))
|
||||||
$(eval $(call SetupJVMTIDemo,waiters, agent_util, , C++, , , , , , , 4101))
|
$(eval $(call SetupJVMTIDemo,waiters, agent_util, , C++))
|
||||||
$(eval $(call SetupJVMTIDemo,versionCheck, agent_util))
|
$(eval $(call SetupJVMTIDemo,versionCheck, agent_util))
|
||||||
|
|
||||||
##################################################################################################
|
##################################################################################################
|
||||||
|
@ -143,7 +143,7 @@ print_inline_info_record(jvmtiCompiledMethodLoadInlineRecord* record,
|
|||||||
|
|
||||||
for (i = 0; i < numpcs; i++) {
|
for (i = 0; i < numpcs; i++) {
|
||||||
PCStackInfo pcrecord = (record->pcinfo[i]);
|
PCStackInfo pcrecord = (record->pcinfo[i]);
|
||||||
fprintf(fp, "PcDescriptor(pc=0x%lx):\n", (jint)(pcrecord.pc));
|
fprintf(fp, "PcDescriptor(pc=%p):\n", pcrecord.pc);
|
||||||
print_stack_frames(&pcrecord, jvmti, fp);
|
print_stack_frames(&pcrecord, jvmti, fp);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -111,8 +111,6 @@ Agent::get_monitor(jvmtiEnv *jvmti, JNIEnv *env, jobject object)
|
|||||||
/* VM initialization and VM death calls to Agent */
|
/* VM initialization and VM death calls to Agent */
|
||||||
Agent::Agent(jvmtiEnv *jvmti, JNIEnv *env, jthread thread)
|
Agent::Agent(jvmtiEnv *jvmti, JNIEnv *env, jthread thread)
|
||||||
{
|
{
|
||||||
jvmtiError err;
|
|
||||||
|
|
||||||
stdout_message("Agent created..\n");
|
stdout_message("Agent created..\n");
|
||||||
stdout_message("VMInit...\n");
|
stdout_message("VMInit...\n");
|
||||||
/* Start monitor list */
|
/* Start monitor list */
|
||||||
@ -129,8 +127,6 @@ Agent::~Agent()
|
|||||||
|
|
||||||
void Agent::vm_death(jvmtiEnv *jvmti, JNIEnv *env)
|
void Agent::vm_death(jvmtiEnv *jvmti, JNIEnv *env)
|
||||||
{
|
{
|
||||||
jvmtiError err;
|
|
||||||
|
|
||||||
/* Delete all Monitors we allocated */
|
/* Delete all Monitors we allocated */
|
||||||
for ( int i = 0; i < (int)monitor_count; i++ ) {
|
for ( int i = 0; i < (int)monitor_count; i++ ) {
|
||||||
delete monitor_list[i];
|
delete monitor_list[i];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user