info.jerrinot:rohypnol-core

Rohypnol - Rohypnol pills for your JVM

Лицензия

Лицензия

Группа

Группа

info.jerrinot
Идентификатор

Идентификатор

rohypnol-core
Последняя версия

Последняя версия

0.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

Rohypnol - Rohypnol pills for your JVM

Скачать rohypnol-core

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/info.jerrinot/rohypnol-core/ -->
<dependency>
    <groupId>info.jerrinot</groupId>
    <artifactId>rohypnol-core</artifactId>
    <version>0.1</version>
</dependency>
// https://jarcasting.com/artifacts/info.jerrinot/rohypnol-core/
implementation 'info.jerrinot:rohypnol-core:0.1'
// https://jarcasting.com/artifacts/info.jerrinot/rohypnol-core/
implementation ("info.jerrinot:rohypnol-core:0.1")
'info.jerrinot:rohypnol-core:jar:0.1'
<dependency org="info.jerrinot" name="rohypnol-core" rev="0.1">
  <artifact name="rohypnol-core" type="jar" />
</dependency>
@Grapes(
@Grab(group='info.jerrinot', module='rohypnol-core', version='0.1')
)
libraryDependencies += "info.jerrinot" % "rohypnol-core" % "0.1"
[info.jerrinot/rohypnol-core "0.1"]

Зависимости

compile (2)

Идентификатор библиотеки Тип Версия
org.ow2.asm : asm jar 6.0
org.ow2.asm : asm-util jar 6.0

test (1)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.12

Модули Проекта

Данный проект не имеет модулей.

Rohypnol

Feed your junit tests with rohypnol and reveal race conditions!

The idea is to use a Java-agent to insert randomized pauses into your code. This should reveal race-conditions.

Usage:

Start your JVM with -javaagent:<path>/rohypnol-1.0-SNAPSHOT-allinone.jar

Configration:

Currently hard-coded. It instruments only classes starting with com.hazelcast and parameters are in Constants

TODO:

  • Configurable strategy to select classes & methods to instrument.
  • Configurable {White/Black}list to feed the pill to selected threads only.
  • Multiple strategies to generate sleep duration. Currently it always uses uniform distribution.

Credits:

@Holmistr came-up with the idea. Implementation bugs are mine.

Версии библиотеки

Версия
0.1