harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan Popov (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-2891) [jdktools][jdwp] generate ClassUnload event
Date Sun, 08 Jul 2007 06:00:09 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-2891?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ivan Popov updated HARMONY-2891:
--------------------------------

    Attachment: H2891_jdwp_tests.patch

Second patch 'H2891_jdwp_tests.patch' adds new tests case to JDWP unit tests to check class
unload support:

  org.apache.harmony.jpda.tests.jdwp.Events.ClassUnloadTest

This tests uses memory stressing technique to force class unloading and check if CLASS_UNLOAD
event was generated for really unloaded class. The result is the following:

- test passes with Harmony, because it is unable to force DRLVM to unload tested class
- test fails with BEA JRockit 1.5 because class is unloaded but event is not generated (JRockit
does not support corresponding JVMTI extension)
- test fails with Sun 1.5 and 1.6, because JVM crashes as described above

This test will perform real testing of this functionality when DRLVM implements required JVMTI
extension (HARMONY-4390).


> [jdktools][jdwp] generate ClassUnload event
> -------------------------------------------
>
>                 Key: HARMONY-2891
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2891
>             Project: Harmony
>          Issue Type: Improvement
>          Components: JDK
>            Reporter: Ivan Popov
>            Priority: Minor
>         Attachments: H2891_jdwp_agent.patch, H2891_jdwp_tests.patch
>
>
> Current implementation of JDWP agent does not support generation of ClassUnload event.
This feature is not used often in real debug scenarios and may be not supported by JVM, so
it is of low priority. However, DRLVM is going to support class unloading, which requires
exposing this functionality via JVMTI extension and implementing generation of JDWP ClassUnload
event.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message