# Join point

> Mediated Wiki article. Canonical URL: https://mediated.wiki/source/Join_point
> Markdown URL: https://mediated.wiki/source/Join_point.md
> Source: https://en.wikipedia.org/wiki/Join_point
> Source revision: 1279669109
> License: Creative Commons Attribution-ShareAlike 4.0 International (https://creativecommons.org/licenses/by-sa/4.0/)

{{multiple issues|
{{one source|date=February 2025}}
{{More citations needed|date=August 2017}}
{{sources exist|date=February 2025}}
}}
In [computer science](/source/computer_science), a '''join point''' is a point in the [control flow](/source/control_flow) of a [program](/source/computer_program) where the control flow can arrive via two different paths. In particular, it's a [basic block](/source/basic_block) that has more than one [predecessor](/source/Glossary_of_graph_theory_terms).<ref>{{Cite book|title=Engineering a compiler|last=Cooper|first=Keith D.|date=2012|publisher=Elsevier/Morgan Kaufmann|others=Torczon, Linda.|isbn=978-0120884780|edition=2nd|location=Amsterdam|pages=476|oclc=714113472}}</ref> In [aspect-oriented programming](/source/aspect-oriented_programming) a [set](/source/set_(mathematics)) of join points is called a [pointcut](/source/pointcut). A join point is a specification of when, in the corresponding main program, the [aspect](/source/Aspect_(computer_science)) code should be executed.

The join point is a point of execution in the base code where the [advice](/source/Advice_(programming)) specified in a corresponding [pointcut](/source/pointcut) is applied.

== See also ==
*[AspectJ](/source/AspectJ), an aspect-oriented extension for the [Java](/source/Java_(programming_language)) [programming language](/source/programming_language)

==References==
{{Reflist}}

{{aosd}}

Category:Aspect-oriented software development
Category:Aspect-oriented programming
Category:Control flow

{{Prog-lang-stub}}

---
Adapted from the Wikipedia article [Join point](https://en.wikipedia.org/wiki/Join_point) by Wikipedia contributors ([contributor history](https://en.wikipedia.org/wiki/Join_point?action=history)). Available under [Creative Commons Attribution-ShareAlike 4.0 International](https://creativecommons.org/licenses/by-sa/4.0/). Changes may have been made.
