[libinline-java-perl] 132/398: *** empty log message ***

Jonas Smedegaard dr at jones.dk
Thu Feb 26 11:42:57 UTC 2015


This is an automated email from the git hooks/post-receive script.

js pushed a commit to tag 0.55
in repository libinline-java-perl.

commit 88765132f369d63a325c5f6bd4957a2d1a770cb5
Author: Patrick LeBoutillier <patl at cpan.org>
Date:   Fri Dec 21 17:54:43 2001 +0000

    *** empty log message ***
---
 Java/JVM.pm | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/Java/JVM.pm b/Java/JVM.pm
index 108bd5e..77f5b50 100644
--- a/Java/JVM.pm
+++ b/Java/JVM.pm
@@ -91,10 +91,13 @@ sub DESTROY {
 	my $this = shift ;
 
 	if ($this->{owner}){
+		Inline::Java::debug("JVM owner exiting...") ;
+
 		if ($this->{socket}){
 			# This asks the Java server to stop and die.
 			my $sock = $this->{socket} ;
 			if ($sock->connected()){
+				Inline::Java::debug("Sending 'die' message to JVM...") ;
 				print $sock "die\n" ;
 			}
 			else{
@@ -106,7 +109,9 @@ sub DESTROY {
 				# Here we go ahead and send the signals anyway to be very 
 				# sure it's dead...
 				# Always be polite first, and then insist.
+				Inline::Java::debug("Sending 15 signal to JVM...") ;
 				kill(15, $this->{pid}) ;
+				Inline::Java::debug("Sending 9 signal to JVM...") ;
 				kill(9, $this->{pid}) ;
 	
 				# Reap the child...
@@ -117,6 +122,7 @@ sub DESTROY {
 	else{
 		# We are not the JVM owner, so we simply politely disconnect
 		if ($this->{socket}){
+			Inline::Java::debug("JVM non-owner exiting...") ;
 			close($this->{socket}) ;
 			$this->{socket} = undef ;
 		}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libinline-java-perl.git



More information about the Pkg-perl-cvs-commits mailing list