Learn and customize Intellij for java

Hi,

C++ developer using vscode here. I am starting learning java and find it is inconvenient to stick with vscode compared with Intellij for java(Or maybe I didn't use vscode for java in a right way).

Are there any recommendation for quickly pick up Intellij tricks? I have already imported vscode shortcuts to Intellij but still having tough time to get used with the different UI settings... Is there any useful plugins or other stuff that I need to know at the same time?

Thank you in advance!

reddit.com
u/Tao_KTH — 8 days ago

DexFuzz configs

Hi everyone,

I am interested in ART fuzzing. I noticed google has already had DexFuzz there with on-device(emulator) and host option. My question is:

  1. Are there two options exactly same? Or on-device will cover more components?

  2. If there is difference, what are they? like coverage, performance?

From my perspective, host fuzzing is much faster. If on-device and host has the same coverage, then maybe we should abandon on-device option?

Also, is there any way to add instrumentation for ART so I can check the coverage for each iteration of fuzzing?

Thank you!

reddit.com
u/Tao_KTH — 13 days ago

Android Runtime

Hi,

Struggling with finding how ART(android runtime) execute the dex file in details. Like how do I know dex file fails at what phases since I am considering doing some differential testing on ART.

Thanks!

reddit.com
u/Tao_KTH — 14 days ago

Android Runtime

Hi,

Struggling with finding how ART(android runtime) execute the dex file in details. Like how do I know dex file fails at what phases since I am considering doing some differential testing on ART.

Thanks!

reddit.com
u/Tao_KTH — 14 days ago
▲ 3 r/vscode+1 crossposts

VSCode crash

When I use vscode opening AOSP(Android Open Source Project), it crashed with exit code 132. Here is the log I get:

It used to work well before. Is it because the AOSP project is too big(A repo consists hundreds of git repos)

vscode version: 1.130.0 Host system: Ubuntu 24.04.1 LTS (using remote server since the project is on another server)

[58888:0806/115623.245971:ERROR:electron/shell/renderer/oom_stack_trace.cc:151]

<--- Near heap limit --->

Heap: used=3807.1MB limit=4096.0MB

[58888:0806/115625.152720:ERROR:electron/shell/renderer/oom_stack_trace.cc:125]

<--- JS stacktrace (captured at safe point) --->

#0 Wto (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:5344:45913)

#1 serializeReplyOK (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:5344:57768)

#2 (anonymous) (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:5344:50654)

<--- Last few GCs --->

[1:0x3cc4004f0000] 98540 ms: Mark-Compact (reduce) 3835.4 (4000.4) -> 3826.4 (3990.4) MB, pooled: 0.0 MB, 900.70 / 0.00 ms (average mu = 0.100, current mu = 0.150) last resort; GC in old space requested

[1:0x3cc4004f0000] 99781 ms: Mark-Compact (reduce) 3826.4 (3990.4) -> 3826.4 (3981.6) MB, pooled: 0.0 MB, 1241.68 / 0.00 ms (average mu = 0.047, current mu = 0.000) last resort; GC in old space requested

[58888:0806/115629.737560:ERROR:third_party/blink/renderer/bindings/core/v8/v8_initializer.cc:948] V8 javascript OOM (Ineffective mark-compacts near heap limit).

[0806/115629.773116:ERROR:third_party/crashpad/crashpad/util/file/directory_reader_posix.cc:43] opendir /home/taox/.config/Code/Crashpad/attachments/85157e01-3b79-4bf7-a20d-052b792e356b: No such file or directory (2)

Renderer process crashed - see https://www.electronjs.org/docs/tutorial/application-debugging for potential debugging information.

[main 2026-08-06T09:56:30.118Z] CodeWindow: renderer process gone (reason: crashed, code: 132)

reddit.com
u/Tao_KTH — 14 days ago

How to debug native android runtime(ART) module fast through

Hi,

Is it possible to debug ART locally with DEX file and native code without start emulator?

Right now I set up an emulator and use gdb remote to connect which is inconvenient. :(

Thank you!

reddit.com
u/Tao_KTH — 1 month ago

How to debug native android runtime(ART) module fast through lldb/gdb?

Hi,

Is it possible to debug ART locally with DEX file and native code without start emulator?

Right now I set up an emulator and use gdb remote to connect which is inconvenient. :(

Thank you!

reddit.com
u/Tao_KTH — 1 month ago

Debug Android dex with native code

Hi,

I am using gdb to debug my dex file with some native code. However, when I was trying to check some variables, most of them are optimized out and many c++ code are inline functions.

Is there any way to make the code debug friendly and easier to inspect? Shall I rebuild AOSP with some flags like CFLAGS += -fkeep-inline-functions?

Thank you!

reddit.com
u/Tao_KTH — 1 month ago

Inspect JVM/ART source code

Hi,

I am currently investigating JVM/ART with JNI vulnerability and feel bit lost. (newbie in this area...

If I create a code which cause JVM/ART throws exception, how can I debug so I can know which line of code inside JVM/ART catch this error/illegal code?

And for Android Runtime, how do I do that?

I tried to build custom version of JVM and ART to get the details but it is bit time consuming since each modification needs a rebuild. Also tried gdb and lldb but feeling like it is not an efficient way either (sth like gdb --args java -cp . Main and set breakpoint...)

Thank you in advance!

reddit.com
u/Tao_KTH — 1 month ago

Inspect JVM/ART source code

Hi,

I am currently investigating JVM/ART with JNI vulnerability and feel bit lost. (newbie in this area...

If I create a code which cause JVM/ART throws exception, how can I debug so I can know which line of code inside JVM/ART catch this error/illegal code?

And for Android Runtime, how do I do that?

I tried to build custom version of JVM and ART to get the details but it is bit time consuming since each modification needs a rebuild. Also tried gdb and lldb but feeling like it is not an efficient way either (sth like gdb --args java -cp . Main and set breakpoint...)

Thank you in advance!

reddit.com
u/Tao_KTH — 1 month ago

Inspect JVM/ART source code

Hi,

I am currently investigating JVM/ART with JNI vulnerability and feel bit lost. (newbie in this area...

If I create a code which cause JVM/ART throws exception, how can I debug so I can know which line of code inside JVM/ART catch this error/illegal code?

And for Android Runtime, how do I do that?

I tried to build custom version of JVM and ART to get the details but it is bit time consuming since each modification needs a rebuild. Also tried gdb and lldb but feeling like it is not an efficient way either (sth like gdb --args java -cp . Main and set breakpoint...)

Thank you in advance!

reddit.com
u/Tao_KTH — 1 month ago

Industrial workflow for Java

Hi,

C/C++ developer here. My next project will be a large-scale Java project. In my previous C++ project (~400 developers), we relied heavily on automated static and dynamic analysis pipelines.

What are the industry-standard tools frequently used for:
Static Analysis / Linting (for c++, it's Clang-Tidy or Cppcheck)
Dynamic Analysis / Profiling (for c++, it's Valgrind or Sanitizers)

Thanks in advance!

reddit.com
u/Tao_KTH — 2 months ago
▲ 4 r/umea

Football Game near university

Is there any group for playing football near university? Just for fun and making friends.

reddit.com
u/Tao_KTH — 3 months ago