Home arrow Forum  
Thursday, 07 August 2008
BJUG Форум
Welcome, Guest
Please Login or Register.    Lost Password?
Внутреннее устройство JVM (0 viewing) 
Go to bottom Post Reply Favoured: 0
TOPIC: Внутреннее устройство JVM
#82
azazello (User)
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
Внутреннее устройство JVM 4 Months ago Karma: 0  
Как определить физический адрес начала heap?
Система однопоточная(ДОС), VM - kaffepc
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#95
Tamerlann (User)
Fresh Boarder
Posts: 12
graph
User Offline Click here to see the profile of this user
RE: Внутреннее устройство JVM 2 Months, 2 Weeks ago Karma: 0  
В любом случае, средствами Java - никак. Другой вопрос - зачем? Возможно, если опишешь проблему в целом, то можно будет найти более правильное решение, чем шуршать в памяти VM.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#97
azazello (User)
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
RE: Внутреннее устройство JVM 2 Months, 1 Week ago Karma: 0  
Идея в следующем:
пусть у нас в оперативной памяти есть повреждения(например данный бит всегда 0).
сlass A{
private A a;
}
Так как в данном случае а- это по сути адрес памяти, по которому находиться объект, то
если это поле ложиться на это повреждение, то в итоге оно может указывать куда угодно.
Сама идея состояла в том, чтобы используя Faumachine(виртуальная машина с возможностью добавления повреждения), добиться например изменения аплетом полей SecurityManager.
Но проблема в том, как определить адрес начала heap, чтоб можно было ориентироваться, на какую ячейку ставить повреждение.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#98
Tamerlann (User)
Fresh Boarder
Posts: 12
graph
User Offline Click here to see the profile of this user
RE: Внутреннее устройство JVM 2 Months, 1 Week ago Karma: 0  
И хотя я все еще не очень понял в чем же заключается конечная цель, но если я правильно предполагаю, что конечная цель - это глубокое тестирование поведения системы в случае ошибок в SecurityManager'е (???!!!), то возможно проще будет заменить в виртуальной машине (в смысле JVM) стандартный SecurityManager на свою собственную имплементацию, которая будет действовать в соответствии с тестируемыми кейсами, и, например, выбрасывать какие-либо Error'ы.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#99
azazello (User)
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
RE: Внутреннее устройство JVM 2 Months, 1 Week ago Karma: 0  
Нет.
Основная цель: показать, что верификатор можно обойти, приведя несовместимые типы.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop
Main menu
Home
About
Job
Forum
Java News Blog
Become a Sponsor
Друзья
Авторизация
Our Sponsors
 
Apatar, Inc. (www.apatar.com ) develops, supports and maintains the leading open source data integration software - Apatar Data Integration. Apatar Data Integration allows Java developers, DBAs, and business users easily link data between a variety of data sources, files, and applications. Users install a visual job designer application to create integration jobs called DataMaps. Found at http://www.apatarforge.org, map data between the source(s) and the target(s), and schedule one-time or recurring data transformations in between local systems such as CSV files, MS SQL, MySQL, Oracle, DB2 and web-based applications such as SalesForce.Com, Flickr, or Amazon, or even XML feeds. Users can share and re-use Apatars over the web. No programming or design is required to accomplish even a complex integration. Apatar Data Integration is written in Java, with metadata is stored in XML. Apatar, Inc. is headquartered in Western Massachusetts, USA and employs some of the best Java developers in Minsk, Belarus.

 
Altoros Systems, Inc. (www.altoros.com) is a global software engineering services firm that provides specialized software product development and lifecycle management services to software companies and information-driven enterprises. Altoros clients include Hewlett-Packard, Sony, Autodesk, and The State of Oregon. Headquartered in the US, Altoros manages a software development center  in Minsk, Belarus. 
Rating All.BY  Бесплатная почта, чат, форум, кино, погода, рефераты.
TIGA.BY: Каталог, новости, погода, почта, работа, фото и многое другое
Каталог ссылок