tapset/stx_libjava.stp
author Jan Vrany <jan.vrany@fit.cvut.cz>
Fri, 19 Jun 2015 08:46:40 +0100
changeset 5 370848e6fc80
parent 1 406b61c83976
permissions -rw-r--r--
Fixes in tapsets and tapscripts for Java
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1
406b61c83976 First shot of tapset for Smalltalk/X.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     1
#
406b61c83976 First shot of tapset for Smalltalk/X.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     2
# Probes defined in Smalltalk/X Java support (for code not in the VM)
406b61c83976 First shot of tapset for Smalltalk/X.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     3
#
406b61c83976 First shot of tapset for Smalltalk/X.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     4
406b61c83976 First shot of tapset for Smalltalk/X.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     5
5
370848e6fc80 Fixes in tapsets and tapscripts for Java
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1
diff changeset
     6
probe stx.libjava = process.library("libstx_libjava.so") { }
1
406b61c83976 First shot of tapset for Smalltalk/X.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     7
406b61c83976 First shot of tapset for Smalltalk/X.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     8
406b61c83976 First shot of tapset for Smalltalk/X.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     9
probe stx.jvm.monitorenter.fat = stx.libjava.function("*_JavaVM___137MONITORENTER_") { }
406b61c83976 First shot of tapset for Smalltalk/X.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    10
probe stx.jvm.monitorexit.fat  = stx.libjava.function("*_JavaVM___137MONITOREXIT_") { }
406b61c83976 First shot of tapset for Smalltalk/X.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    11
406b61c83976 First shot of tapset for Smalltalk/X.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    12
probe stx.jvm.throw = stx.libjava.function("*JavaVM__throwException_") { }
406b61c83976 First shot of tapset for Smalltalk/X.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    13
406b61c83976 First shot of tapset for Smalltalk/X.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    14
probe stx.jvm.class.loaded = stx.libjava.function("*_JavaClassRegistry__registerClass_") { }