]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Added an FAQ about Java.
authorNicholas Nethercote <njn@valgrind.org>
Thu, 6 Oct 2005 18:58:33 +0000 (18:58 +0000)
committerNicholas Nethercote <njn@valgrind.org>
Thu, 6 Oct 2005 18:58:33 +0000 (18:58 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4883

docs/xml/FAQ.xml

index 25f44b0755c3fa113bbca5a6b53dd9f345cb43e5..56ae36a41fec0e50392ea1ba303be6b89ec00a18 100644 (file)
  </answer>
 </qandaentry>
 
+<qandaentry id="faq.java">
+ <question>
+  <para>I tried running a Java program under Valgrind but Valgrind aborted.
+    Does Valgrind handle Java programs, dynamically generated code, etc?
+    </para>
+ </question>
+ <answer>
+  <para>Valgrind handles dynamically generated code without a problem.
+    In theory, Valgrind can run any Java program just fine, even those that
+    use JNI and are partially implemented in other languages like C and C++.
+    In practice, Java implementations tend to do nasty things that most
+    programs do not, and Valgrind sometimes falls over these corner
+    cases.</para>
+  <para>If your Java programs do not run under Valgrind, please file a
+    bug report and hopefully we'll be able to fix the problem.</para>
+ </answer>
+</qandaentry>
+
 </qandaset>
 </sect1>