View | Details | Raw Unified | Return to bug 52628
Collapse All | Expand All

(-)jmp/Makefile (-1 / +1 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	jmp
8
PORTNAME=	jmp
9
PORTVERSION=	0.29
9
PORTVERSION=	0.30
10
CATEGORIES=	java devel
10
CATEGORIES=	java devel
11
MASTER_SITES=	http://www.khelekore.org/jmp/
11
MASTER_SITES=	http://www.khelekore.org/jmp/
12
12
(-)jmp/distinfo (-1 / +1 lines)
Line 1 Link Here
1
MD5 (jmp-0.29.tar.gz) = ba923307a088b81f08d94faaf8ca8ade
1
MD5 (jmp-0.30.tar.gz) = 25cb5003953ffcac5e166471660463e2
(-)jmp/files/patch-configure (-12 lines)
Lines 1-12 Link Here
1
$FreeBSD: ports/java/jmp/files/patch-configure,v 1.1 2003/05/15 16:34:36 glewis Exp $
2
3
--- configure.orig	Fri Feb 28 08:28:00 2003
4
+++ configure	Fri Feb 28 08:28:31 2003
5
@@ -11241,6 +11241,7 @@
6
 
7
 
8
 case $target_os in
9
+  freebsd*) java_os=freebsd;;
10
   linux*) java_os=linux;;
11
   solaris*) java_os=solaris;;
12
   cygwin*) java_os=win32;;
(-)jmp/files/patch-jmp.c (-45 lines)
Lines 1-45 Link Here
1
$FreeBSD: ports/java/jmp/files/patch-jmp.c,v 1.1 2003/05/15 16:34:36 glewis Exp $
2
3
--- jmp.c	Tue May 13 23:17:03 2003
4
+++ jmp.c	Tue May 13 23:17:47 2003
5
@@ -1548,10 +1548,11 @@
6
     free (cf);
7
 }
8
 
9
-void enable_method_events () {
10
+void enable_method_events_and_stacks (int get_stacks) {
11
     /* Ok, the thread stacks are bogous, clear them all and try to get 
12
      * real stacks, timing will be a bit bogous, but not to much...
13
      */
14
+    if (get_stacks) {
15
     jmphash_lock (threads);
16
     jmphash_lock (methods);
17
     jvmpi->DisableGC ();
18
@@ -1559,6 +1560,7 @@
19
     jvmpi->EnableGC ();
20
     jmphash_unlock (methods);
21
     jmphash_unlock (threads);
22
+    }
23
 
24
     method_profiling = 1;
25
     /*
26
@@ -1572,6 +1574,10 @@
27
     jvmpi->EnableEvent (JVMPI_EVENT_METHOD_EXIT, NULL);
28
 }
29
 
30
+void enable_method_events () {
31
+    enable_method_events_and_stacks (1);
32
+}
33
+
34
 static void enable_dump_events () {
35
     dump_enabled = 1;
36
     jvmpi->EnableEvent (JVMPI_EVENT_DATA_DUMP_REQUEST, NULL);
37
@@ -1603,7 +1609,7 @@
38
 	enable_object_events ();
39
     enable_thread_events ();
40
     if (method_profiling)     
41
-	enable_method_events ();
42
+	enable_method_events_and_stacks (0);
43
     if (dump_enabled)
44
 	enable_dump_events ();
45
     if (monitor_profiling)

Return to bug 52628