Interview Questions Answers.ORG
Interviewer And Interviewee Guide
Interviews
Quizzes
Home
Quizzes
Interviews Java Programming Language Interviews:Advanced JavaCore JavaEclipseFull Stack Developer (Java)HibernateIBM WebSphereInternationalization LocalizationJ2EEJ2MEJ2SEJavaJava ANTJava AppletJava BeansJava ClassesJava EJB ProgrammingJava Game DeveloperJava GUI FrameworkJava JNDIJava JNIJava JSP ProgrammingJava Message Service (JMS)Java Multi-ThreadingJava Networking - Sockets and RMIJava PatternsJava SecurityJava Server FacesJava Servlet ProgrammingJava Software EngineerJava Swing ProgrammingJava TechnicalJava ThreadsJava Transaction APIJava Web ServicesJavaMailJBossJDBCJMSJSFPortal and PortletRMISpring FrameworkSr.Java Web DeveloperStrutsSunOneSwing AWTSWT JFace
Copyright © 2018. All Rights Reserved
Java Multi-Threading Interview Question:
How to debug our application for issues when multiple threads are being executed?
Submitted by: AdministratorFollowing are some way to debug issues in multi-threaded applications in Java.
-By using logging and print statements along with thread names. In this way we can know about the flow of thread execution.
-With the use of debugging functionality available in Eclipse and JDeveloper.
-We can write a thread dump of the application which will give the information about the active threads at a point of time.
This is most effective way for detecting deadlocks in production systems.
Submitted by: Administrator
-By using logging and print statements along with thread names. In this way we can know about the flow of thread execution.
-With the use of debugging functionality available in Eclipse and JDeveloper.
-We can write a thread dump of the application which will give the information about the active threads at a point of time.
This is most effective way for detecting deadlocks in production systems.
Submitted by: Administrator
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.
https://InterviewQuestionsAnswers.ORG.